Skip to content

Commit 672fdcb

Browse files
committed
Fix feature flags.
1 parent 0b0c9e3 commit 672fdcb

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

‎rust/lib/bitcache/Cargo.toml‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,22 @@ rustdoc-args = ["--cfg", "docsrs"]
2929
[features]
3030
default = ["all", "std"]
3131
all = ["auto-register", "base58", "fs", "heap"]
32-
alloc = ["bitcache-core/alloc"]
33-
std = ["alloc", "bitcache-core/std", "ctor/std"]
32+
alloc = [
33+
"bitcache-core/alloc",
34+
"bitcache-fs?/alloc",
35+
"bitcache-heap?/alloc",
36+
"bitcache-iroh?/alloc",
37+
"bitcache-opendal?/alloc",
38+
]
39+
std = [
40+
"alloc",
41+
"bitcache-core/std",
42+
"bitcache-fs?/std",
43+
"bitcache-heap?/std",
44+
"bitcache-iroh?/std",
45+
"bitcache-opendal?/std",
46+
"ctor?/std",
47+
]
3448
unstable = []
3549

3650
# Features:

0 commit comments

Comments
 (0)