Min SQLite version for vtab is 3.7.7

This commit is contained in:
gwenn 2017-03-09 19:24:02 +01:00
parent 7f0082e44e
commit c40b395410
4 changed files with 2870 additions and 1 deletions

View File

@ -26,7 +26,7 @@ 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"]
limits = [] limits = []
vtab = [] vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7"]
csvtab = ["csv"] csvtab = ["csv"]
[dependencies] [dependencies]

View File

@ -19,6 +19,7 @@ min_sqlite_version_3_6_11 = ["pkg-config"]
min_sqlite_version_3_6_23 = ["pkg-config"] min_sqlite_version_3_6_23 = ["pkg-config"]
min_sqlite_version_3_7_3 = ["pkg-config"] min_sqlite_version_3_7_3 = ["pkg-config"]
min_sqlite_version_3_7_4 = ["pkg-config"] min_sqlite_version_3_7_4 = ["pkg-config"]
min_sqlite_version_3_7_7 = ["pkg-config"]
[build-dependencies] [build-dependencies]
bindgen = { version = "0.21", optional = true } bindgen = { version = "0.21", optional = true }

File diff suppressed because it is too large Load Diff

View File

@ -122,6 +122,9 @@ mod build {
#[cfg(feature = "min_sqlite_version_3_7_4")] #[cfg(feature = "min_sqlite_version_3_7_4")]
"bindgen-bindings/bindgen_3.7.4.rs", "bindgen-bindings/bindgen_3.7.4.rs",
#[cfg(feature = "min_sqlite_version_3_7_7")]
"bindgen-bindings/bindgen_3.7.7.rs",
]; ];
pub fn write_to_out_dir(_header: HeaderLocation) { pub fn write_to_out_dir(_header: HeaderLocation) {