Skip to content

Commit

Permalink
apps: turn off rocksdb jemalloc on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic authored and batconjurer committed Nov 2, 2023
1 parent d501475 commit 01c1231
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ regex.workspace = true
reqwest.workspace = true
ripemd.workspace = true
rlimit.workspace = true
rocksdb.workspace = true
rpassword.workspace = true
serde_bytes.workspace = true
serde_json = {workspace = true, features = ["raw_value"]}
Expand All @@ -144,10 +143,15 @@ tracing-subscriber = { workspace = true, features = ["std", "json", "ansi", "tra
tracing.workspace = true
winapi.workspace = true
zeroize.workspace = true

warp = "0.3.2"
bytes = "1.1.0"

[target.'cfg(not(windows))'.dependencies]
rocksdb = { workspace = true, features = ['jemalloc'] } # jemalloc is not supported on windows

[target.'cfg(windows)'.dependencies]
rocksdb = { workspace = true }

[dev-dependencies]
assert_matches = "1.5.0"
namada = {path = "../shared", default-features = false, features = ["testing", "wasm-runtime"]}
Expand Down

0 comments on commit 01c1231

Please sign in to comment.