mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
commit
b1fdc84dc9
11
Cargo.toml
11
Cargo.toml
@ -20,9 +20,13 @@ name = "rusqlite"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
load_extension = []
|
load_extension = []
|
||||||
backup = ["libsqlite3-sys/min_sqlite_version_3_6_11"]
|
# hot-backup interface: 3.6.11 (2009-02-18)
|
||||||
blob = ["libsqlite3-sys/min_sqlite_version_3_7_4"]
|
backup = ["libsqlite3-sys/min_sqlite_version_3_6_23"]
|
||||||
functions = ["libsqlite3-sys/min_sqlite_version_3_7_3"]
|
# sqlite3_blob_reopen: 3.7.4
|
||||||
|
blob = ["libsqlite3-sys/min_sqlite_version_3_7_7"]
|
||||||
|
# sqlite3_create_function_v2: 3.7.3 (2010-10-08)
|
||||||
|
functions = ["libsqlite3-sys/min_sqlite_version_3_7_7"]
|
||||||
|
# sqlite3_log: 3.6.23 (2010-03-09)
|
||||||
trace = ["libsqlite3-sys/min_sqlite_version_3_6_23"]
|
trace = ["libsqlite3-sys/min_sqlite_version_3_6_23"]
|
||||||
bundled = ["libsqlite3-sys/bundled"]
|
bundled = ["libsqlite3-sys/bundled"]
|
||||||
buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
|
buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
|
||||||
@ -30,6 +34,7 @@ limits = []
|
|||||||
hooks = []
|
hooks = []
|
||||||
sqlcipher = ["libsqlite3-sys/sqlcipher"]
|
sqlcipher = ["libsqlite3-sys/sqlcipher"]
|
||||||
unlock_notify = ["libsqlite3-sys/unlock_notify"]
|
unlock_notify = ["libsqlite3-sys/unlock_notify"]
|
||||||
|
# xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23)
|
||||||
vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7", "lazy_static"]
|
vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7", "lazy_static"]
|
||||||
csvtab = ["csv", "vtab"]
|
csvtab = ["csv", "vtab"]
|
||||||
# pointer passing interfaces: 3.20.0
|
# pointer passing interfaces: 3.20.0
|
||||||
|
@ -146,10 +146,8 @@ minimum SQLite version that supports your chosen features. If you are using
|
|||||||
pregenerated bindings are chosen:
|
pregenerated bindings are chosen:
|
||||||
|
|
||||||
* `min_sqlite_version_3_6_8` - SQLite 3.6.8 bindings (this is the default)
|
* `min_sqlite_version_3_6_8` - SQLite 3.6.8 bindings (this is the default)
|
||||||
* `min_sqlite_version_3_6_11` - SQLite 3.6.11 bindings
|
|
||||||
* `min_sqlite_version_3_6_23` - SQLite 3.6.23 bindings
|
* `min_sqlite_version_3_6_23` - SQLite 3.6.23 bindings
|
||||||
* `min_sqlite_version_3_7_3` - SQLite 3.7.3 bindings
|
* `min_sqlite_version_3_7_7` - SQLite 3.7.7 bindings
|
||||||
* `min_sqlite_version_3_7_4` - SQLite 3.7.4 bindings
|
|
||||||
|
|
||||||
If you use the `bundled` feature, you will get pregenerated bindings for the
|
If you use the `bundled` feature, you will get pregenerated bindings for the
|
||||||
bundled version of SQLite. If you need other specific pregenerated binding
|
bundled version of SQLite. If you need other specific pregenerated binding
|
||||||
|
@ -18,10 +18,7 @@ sqlcipher = []
|
|||||||
min_sqlite_version_3_6_8 = ["pkg-config", "vcpkg"]
|
min_sqlite_version_3_6_8 = ["pkg-config", "vcpkg"]
|
||||||
min_sqlite_version_3_6_11 = ["pkg-config", "vcpkg"]
|
min_sqlite_version_3_6_11 = ["pkg-config", "vcpkg"]
|
||||||
min_sqlite_version_3_6_23 = ["pkg-config", "vcpkg"]
|
min_sqlite_version_3_6_23 = ["pkg-config", "vcpkg"]
|
||||||
min_sqlite_version_3_7_3 = ["pkg-config", "vcpkg"]
|
|
||||||
min_sqlite_version_3_7_4 = ["pkg-config", "vcpkg"]
|
|
||||||
min_sqlite_version_3_7_7 = ["pkg-config", "vcpkg"]
|
min_sqlite_version_3_7_7 = ["pkg-config", "vcpkg"]
|
||||||
min_sqlite_version_3_7_16 = ["pkg-config", "vcpkg"]
|
|
||||||
# sqlite3_unlock_notify >= 3.6.12
|
# sqlite3_unlock_notify >= 3.6.12
|
||||||
unlock_notify = []
|
unlock_notify = []
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -172,18 +172,10 @@ mod build {
|
|||||||
|
|
||||||
static PREBUILT_BINDGEN_PATHS: &'static [&'static str] = &[
|
static PREBUILT_BINDGEN_PATHS: &'static [&'static str] = &[
|
||||||
"bindgen-bindings/bindgen_3.6.8.rs",
|
"bindgen-bindings/bindgen_3.6.8.rs",
|
||||||
#[cfg(feature = "min_sqlite_version_3_6_11")]
|
|
||||||
"bindgen-bindings/bindgen_3.6.11.rs",
|
|
||||||
#[cfg(feature = "min_sqlite_version_3_6_23")]
|
#[cfg(feature = "min_sqlite_version_3_6_23")]
|
||||||
"bindgen-bindings/bindgen_3.6.23.rs",
|
"bindgen-bindings/bindgen_3.6.23.rs",
|
||||||
#[cfg(feature = "min_sqlite_version_3_7_3")]
|
|
||||||
"bindgen-bindings/bindgen_3.7.3.rs",
|
|
||||||
#[cfg(feature = "min_sqlite_version_3_7_4")]
|
|
||||||
"bindgen-bindings/bindgen_3.7.4.rs",
|
|
||||||
#[cfg(feature = "min_sqlite_version_3_7_7")]
|
#[cfg(feature = "min_sqlite_version_3_7_7")]
|
||||||
"bindgen-bindings/bindgen_3.7.7.rs",
|
"bindgen-bindings/bindgen_3.7.7.rs",
|
||||||
#[cfg(feature = "min_sqlite_version_3_7_16")]
|
|
||||||
"bindgen-bindings/bindgen_3.7.16.rs",
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pub fn write_to_out_dir(_header: HeaderLocation) {
|
pub fn write_to_out_dir(_header: HeaderLocation) {
|
||||||
|
Loading…
Reference in New Issue
Block a user