1#![doc = include_str!("../README.md")]
2#![cfg_attr(
3 target_feature = "atomics",
4 feature(thread_local, stdarch_wasm_atomic_wait)
5)]
6
7#[rustfmt::skip]
8#[allow(non_upper_case_globals)]
9#[allow(non_camel_case_types)]
10#[allow(non_snake_case)]
11#[allow(clippy::type_complexity)]
12mod libsqlite3;
13
14#[cfg(not(feature = "custom-libc"))]
15#[allow(non_upper_case_globals)]
16#[allow(non_camel_case_types)]
17#[allow(non_snake_case)]
18mod shim;
19
20#[allow(non_upper_case_globals)]
22#[allow(non_camel_case_types)]
23#[allow(non_snake_case)]
24mod vfs;
25
26pub use libsqlite3::*;
28
29pub use vfs::memory as mem_vfs;
31
32pub use vfs::sahpool as sahpool_vfs;
34
35#[cfg(feature = "relaxed-idb")]
37pub use vfs::relaxed_idb as relaxed_idb_vfs;
38
39pub use vfs::utils;
41
42#[cfg(feature = "custom-libc")]
44pub use sqlite_wasm_libc;
45
46#[cfg(test)]
47wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_dedicated_worker);