Skip to content

Commit 93e6767

Browse files
committed
Making libz-ng-sys dependency contingent on having serialization feature enabled
1 parent 8a511bc commit 93e6767

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ smallvec = {version = "1.13.2", features = ["union"]}
2525
arrayvec = "0.7.6"
2626
num-traits = "0.2"
2727
tikv-jemallocator = {version = "0.6.0", optional = true}
28-
libz-ng-sys = {version = "1" } # for any serialzation
28+
libz-ng-sys = {version = "1", optional = true } # for any serialzation
2929
rand_distr = { version = "0.5.1", optional = true }
3030
rand = { version = "0.9.0", optional = true }
3131
memmap2 = { version="0.9.5", optional = true }
@@ -48,7 +48,7 @@ slim_ptrs = [] # Enables use of a 64-bit inter-node pointer type (TrieNodeODRc)
4848
slim_dispatch = [] # Experiment. Enables the 64-bit pointers to back the TaggedNodeRef and TaggedNodeRefMut types, WILL BE REMOVED EVENTUALLY
4949
act_counters = ["arena_compact"] # LP: Question: Why isn't this code enabled by just counters + arena_compact???
5050
viz = []
51-
serialization = []
51+
serialization = ["dep:libz-ng-sys"]
5252

5353
[target.'cfg(not(any(miri,target_arch="riscv64")))'.dependencies]
5454
gxhash = {version="3.5"} # for dag_serialization, merkleization, and caching catamorphism

0 commit comments

Comments
 (0)