Skip to content

Commit 7a936ee

Browse files
committed
Expose the ironfish crate features in the wasm crate
1 parent 0f88a51 commit 7a936ee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ironfish-rust-wasm/Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,18 @@ publish = false
1313
[lib]
1414
crate-type = ["cdylib"]
1515

16+
[features]
17+
default = ["transaction-proofs"]
18+
19+
download-params = ["ironfish/download-params"]
20+
note-encryption-stats = ["ironfish/note-encryption-stats"]
21+
transaction-proofs = ["ironfish/transaction-proofs"]
22+
1623
[dependencies]
1724
blstrs = "0.6.0"
1825
getrandom = { version = "0.2.8", features = ["js"] } # need to explicitly enable the `js` feature in order to run in a browser
1926
group = "0.12.0"
20-
ironfish = { version = "0.3.0", path = "../ironfish-rust" }
27+
ironfish = { version = "0.3.0", path = "../ironfish-rust", default-features = false }
2128
ironfish-jubjub = "0.1.0"
2229
ironfish_zkp = { version = "0.2.0", path = "../ironfish-zkp" }
2330
rand = "0.8.5"

0 commit comments

Comments
 (0)