Merge pull request #455 from gwenn/3.7.16

Restore old bindgen for Diesel
This commit is contained in:
gwenn 2019-01-06 10:16:42 +01:00 committed by GitHub
commit f6a4feecea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2303 additions and 3 deletions

View File

@ -61,7 +61,7 @@ regex = "1.0"
[dependencies.libsqlite3-sys]
path = "libsqlite3-sys"
version = "0.11"
version = "0.12"
[[test]]
name = "config_log"

View File

@ -1,6 +1,6 @@
[package]
name = "libsqlite3-sys"
version = "0.11.0"
version = "0.12.0"
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
edition = "2018"
repository = "https://github.com/jgallagher/rusqlite"
@ -19,11 +19,12 @@ sqlcipher = []
min_sqlite_version_3_6_8 = ["pkg-config", "vcpkg"]
min_sqlite_version_3_6_23 = ["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
unlock_notify = []
[build-dependencies]
bindgen = { version = "0.45", optional = true }
bindgen = { version = "0.46", optional = true }
pkg-config = { version = "0.3", optional = true }
cc = { version = "1.0", optional = true }

File diff suppressed because it is too large Load Diff

View File

@ -200,6 +200,8 @@ mod bindings {
"bindgen-bindings/bindgen_3.6.23.rs",
#[cfg(feature = "min_sqlite_version_3_7_7")]
"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, out_path: &Path) {