// Recommended Options

#define SQLITE_DQS 0
#define SQLITE_THREADSAFE 0
#define SQLITE_DEFAULT_WAL_SYNCHRONOUS 1
#define SQLITE_LIKE_DOESNT_MATCH_BLOBS
#define SQLITE_STRICT_SUBTYPE 1
#define SQLITE_OMIT_DEPRECATED
#define SQLITE_OMIT_SHARED_CACHE
#define SQLITE_OMIT_AUTOINIT

// #define SQLITE_DEFAULT_MEMSTATUS 0
// #define SQLITE_MAX_EXPR_DEPTH 0
// #define SQLITE_USE_ALLOCA
// #define SQLITE_OMIT_DECLTYPE
// #define SQLITE_OMIT_PROGRESS_CALLBACK

// Other Options

#define SQLITE_USE_URI 1
#define SQLITE_ALLOW_URI_AUTHORITY
#define SQLITE_TRUSTED_SCHEMA 0
#define SQLITE_DEFAULT_FOREIGN_KEYS 1
#define SQLITE_ENABLE_API_ARMOR
#define SQLITE_ENABLE_ATOMIC_WRITE
#define SQLITE_ENABLE_BATCH_ATOMIC_WRITE
#define SQLITE_ENABLE_COLUMN_METADATA
#define SQLITE_ENABLE_MATH_FUNCTIONS
#define SQLITE_ENABLE_PREUPDATE_HOOK
#define SQLITE_ENABLE_SETLK_TIMEOUT 2
#define SQLITE_ENABLE_STAT4 1
#define SQLITE_SOUNDEX

#ifdef __wasm__
#define SQLITE_OMIT_DESERIALIZE
#define SQLITE_OMIT_LOAD_EXTENSION
#else  // CLI
#define SQLITE_ENABLE_FTS5
#define SQLITE_ENABLE_RTREE
#define SQLITE_ENABLE_GEOPOLY
#define SQLITE_ENABLE_EXPLAIN_COMMENTS
#define SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
#endif

// Experiments

#define SQLITE_EXPERIMENTAL_PRAGMA_20251114
