Add bundle-sqlcipher and bundle-ssl (#860)

Co-authored-by: Thom Chiovoloni <chiovolonit@gmail.com>
This commit is contained in:
dubiousjim
2021-06-02 15:07:56 -04:00
committed by GitHub
parent a2d48a8c15
commit 8770e7d443
14 changed files with 255193 additions and 66 deletions

View File

@@ -15,6 +15,8 @@ categories = ["external-ffi-bindings"]
default = ["min_sqlite_version_3_6_8"]
bundled = ["cc", "bundled_bindings"]
bundled-windows = ["cc", "bundled_bindings"]
bundled-sqlcipher = ["bundled"]
bundled-sqlcipher-vendored-openssl = ["bundled-sqlcipher", "openssl-sys/vendored"]
buildtime_bindgen = ["bindgen", "pkg-config", "vcpkg"]
sqlcipher = []
min_sqlite_version_3_6_8 = ["pkg-config", "vcpkg"]
@@ -36,6 +38,9 @@ wasm32-wasi-vfs = []
# lowest version shipped with Windows 10.0.10586 was 3.8.8.3
winsqlite3 = ["min_sqlite_version_3_7_16"]
[dependencies]
openssl-sys = { version = "0.9.58", optional = true }
[build-dependencies]
bindgen = { version = "0.58", optional = true, default-features = false, features = ["runtime"] }
pkg-config = { version = "0.3.19", optional = true }