Просмотр исходного кода

Cargo.toml: Force system sqlcipher for libsqlite3-sys

parazyd 2 лет назад
Родитель
Сommit
35391e5408
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      Cargo.toml

+ 1 - 4
Cargo.toml

@@ -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"]}