mirror of
https://github.com/isar/rusqlite.git
synced 2025-12-31 16:02:47 +08:00
Update build process to use prebuilt bindings.
Adds buildtime_bindgen feature to run bindgen dynamically.
This commit is contained in:
@@ -11,9 +11,16 @@ keywords = ["sqlite", "database", "ffi"]
|
||||
categories = ["database", "external-ffi-bindings"]
|
||||
|
||||
[features]
|
||||
bundled = []
|
||||
default = ["min_sqlite_version_3_6_8"]
|
||||
bundled = ["gcc"]
|
||||
buildtime_bindgen = ["bindgen", "pkg-config"]
|
||||
min_sqlite_version_3_6_8 = ["pkg-config"]
|
||||
min_sqlite_version_3_6_11 = ["pkg-config"]
|
||||
min_sqlite_version_3_6_23 = ["pkg-config"]
|
||||
min_sqlite_version_3_7_3 = ["pkg-config"]
|
||||
min_sqlite_version_3_7_4 = ["pkg-config"]
|
||||
|
||||
[build-dependencies]
|
||||
bindgen = "0.21"
|
||||
pkg-config = "0.3"
|
||||
gcc = "0.3"
|
||||
bindgen = { version = "0.21", optional = true }
|
||||
pkg-config = { version = "0.3", optional = true }
|
||||
gcc = { version = "0.3", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user