Cargo.toml: Force system sqlcipher for libsqlite3-sys

This commit is contained in:
parazyd
2023-11-02 14:19:36 +01:00
parent 5ff7dc6cf9
commit 35391e5408

View File

@@ -116,6 +116,7 @@ wasmer-middlewares = {version = "4.2.2", optional = true}
# Wallet management
rusqlite = {version = "0.29.0", features = ["sqlcipher"], optional = true}
libsqlite3-sys = {version = "*", features = ["sqlcipher"], optional = true}
# Blockchain store
sled = {version = "0.34.7", optional = true}
@@ -124,10 +125,6 @@ sled-overlay = {version = "0.0.8", optional = true}
# Miner
randomx = {git = "https://github.com/darkrenaissance/RandomX", optional = true}
# When using musl-libc, some bug happens when linking the system lib, so we need this
[target.'cfg(target_env = "musl")'.dependencies]
libsqlite3-sys = {version = "*", features = ["bundled-sqlcipher"], optional = true}
[dev-dependencies]
clap = {version = "4.4.7", features = ["derive"]}
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}