mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-07 12:02:19 +08:00
Remove min_sqlite_version_3_7_16
feature
And associated bindgen
This commit is contained in:
@@ -19,7 +19,6 @@ bundled-sqlcipher = ["bundled"]
|
||||
bundled-sqlcipher-vendored-openssl = ["bundled-sqlcipher", "openssl-sys/vendored"]
|
||||
buildtime_bindgen = ["bindgen", "pkg-config", "vcpkg"]
|
||||
sqlcipher = []
|
||||
min_sqlite_version_3_7_16 = ["pkg-config", "vcpkg"]
|
||||
min_sqlite_version_3_14_0 = ["pkg-config", "vcpkg"]
|
||||
# Bundle only the bindings file. Note that this does nothing if
|
||||
# `buildtime_bindgen` is enabled.
|
||||
@@ -39,7 +38,7 @@ wasm32-wasi-vfs = []
|
||||
# Note that because `winsqlite3.dll` exports SQLite functions using a atypical
|
||||
# ABI on 32-bit systems, this is currently unsupported on these. This may change
|
||||
# in the future.
|
||||
winsqlite3 = ["min_sqlite_version_3_7_16"]
|
||||
winsqlite3 = []
|
||||
|
||||
[dependencies]
|
||||
openssl-sys = { version = "0.9", optional = true }
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -473,15 +473,7 @@ mod bindings {
|
||||
use std::fs;
|
||||
use std::path::Path;
|
||||
|
||||
static PREBUILT_BINDGEN_PATHS: &[&str] = &[
|
||||
#[cfg(feature = "min_sqlite_version_3_7_16")]
|
||||
"bindgen-bindings/bindgen_3.7.16.rs",
|
||||
#[cfg(any(
|
||||
feature = "min_sqlite_version_3_14_0",
|
||||
not(any(feature = "min_sqlite_version_3_7_16",))
|
||||
))]
|
||||
"bindgen-bindings/bindgen_3.14.0.rs",
|
||||
];
|
||||
static PREBUILT_BINDGEN_PATHS: &[&str] = &["bindgen-bindings/bindgen_3.14.0.rs"];
|
||||
|
||||
pub fn write_to_out_dir(_header: HeaderLocation, out_path: &Path) {
|
||||
let in_path = PREBUILT_BINDGEN_PATHS[PREBUILT_BINDGEN_PATHS.len() - 1];
|
||||
|
Reference in New Issue
Block a user