sqlite3_sys/lib.rs
1//! Bindings to [SQlite].
2//!
3//! The following Cargo features are supported:
4//!
5//! * `linkage` creates a dependency on `sqlite3-src`, which links to a suitable
6//! SQLite library;
7//! * `bundled` compiles SQLite from the source code, ignoring any libraries that
8//! might already be installed; and
9//! * `encryption` enables bindings to the [SQLite Encryption Extension], which is
10//! closed source and hence requires purchasing a license and installing SQLite
11//! manually.
12//!
13//! [SQLite]: https://www.sqlite.org
14//! [SQLite Encryption Extension]: https://www.sqlite.org/see/doc/release/www/index.wiki
15
16#![allow(non_camel_case_types, non_snake_case)]
17#![no_std]
18
19#[cfg(feature = "linkage")]
20extern crate sqlite3_src;
21
22mod base;
23#[cfg(feature = "encryption")]
24mod encryption;
25
26pub use base::*;
27#[cfg(feature = "encryption")]
28pub use encryption::*;