Skip to content

Commit 0a556d6

Browse files
authored
Merge pull request tursodatabase#464 from tursodatabase/rusqlite-build
rusqlite build
2 parents cef416b + d64145c commit 0a556d6

18 files changed

+161
-796077
lines changed

vendored/rusqlite/Cargo.toml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ functions = []
4545
trace = []
4646
# sqlite3_db_release_memory: 3.7.10 (2012-01-16)
4747
release_memory = []
48-
bundled = ["libsqlite3-sys/bundled", "modern_sqlite"]
49-
bundled-sqlcipher = ["libsqlite3-sys/bundled-sqlcipher", "bundled"]
50-
bundled-libsql-experimental = ["libsqlite3-sys/bundled-libsql-experimental", "bundled", "libsql-experimental"]
51-
bundled-libsql-wasm-experimental = ["libsqlite3-sys/bundled-libsql-wasm-experimental", "bundled", "libsql-wasm-experimental"]
52-
bundled-sqlcipher-vendored-openssl = ["libsqlite3-sys/bundled-sqlcipher-vendored-openssl", "bundled-sqlcipher"]
53-
buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
5448
limits = []
5549
hooks = []
5650
i128_blob = []
@@ -72,9 +66,8 @@ series = ["vtab"]
7266
# check for invalid query.
7367
extra_check = []
7468
# ]3.14.0, last]
75-
modern_sqlite = ["libsqlite3-sys/bundled_bindings"]
69+
modern_sqlite = []
7670
in_gecko = ["modern_sqlite", "libsqlite3-sys/in_gecko"]
77-
bundled-windows = ["libsqlite3-sys/bundled-windows"]
7871
# Build bundled sqlite with -fsanitize=address
7972
with-asan = ["libsqlite3-sys/with-asan"]
8073
column_decltype = []
@@ -112,8 +105,6 @@ modern-full = [
112105
"window",
113106
]
114107

115-
bundled-full = ["modern-full", "bundled"]
116-
117108
[dependencies]
118109
time = { version = "0.3.0", features = ["formatting", "macros", "parsing"], optional = true }
119110
bitflags = "2.0"

vendored/rusqlite/libsqlite3-sys/Cargo.toml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ categories = ["external-ffi-bindings"]
1313

1414
[features]
1515
default = ["min_sqlite_version_3_14_0"]
16-
bundled = ["cc", "bundled_bindings"]
17-
bundled-windows = ["cc", "bundled_bindings"]
18-
bundled-sqlcipher = ["bundled"]
19-
bundled-libsql-experimental = ["bundled", "libsql-experimental"]
20-
bundled-libsql-wasm-experimental = ["bundled-libsql-experimental", "libsql-wasm-experimental"]
21-
bundled-sqlcipher-vendored-openssl = ["bundled-sqlcipher", "openssl-sys/vendored"]
22-
buildtime_bindgen = ["bindgen", "pkg-config", "vcpkg"]
2316
sqlcipher = []
2417
libsql-experimental = []
2518
libsql-wasm-experimental = ["dep:libsql-wasmtime-bindings"]
@@ -30,9 +23,9 @@ bundled_bindings = []
3023
# sqlite3_unlock_notify >= 3.6.12
3124
unlock_notify = []
3225
# 3.13.0
33-
preupdate_hook = ["buildtime_bindgen"]
26+
preupdate_hook = []
3427
# 3.13.0
35-
session = ["preupdate_hook", "buildtime_bindgen"]
28+
session = ["preupdate_hook"]
3629
in_gecko = []
3730
with-asan = []
3831
wasm32-wasi-vfs = []
@@ -49,7 +42,7 @@ openssl-sys = { version = "0.9", optional = true }
4942
libsql-wasmtime-bindings = { version = "0.2.1", optional = true }
5043

5144
[build-dependencies]
52-
bindgen = { version = "0.65", optional = true, default-features = false, features = ["runtime"] }
45+
bindgen = { version = "0.65", default-features = false, features = ["runtime"] }
5346
pkg-config = { version = "0.3.19", optional = true }
54-
cc = { version = "1.0", optional = true }
47+
cc = { version = "1.0" }
5548
vcpkg = { version = "0.2", optional = true }

0 commit comments

Comments
 (0)