Skip to content

Commit

Permalink
Expose the ironfish crate features in the wasm crate
Browse files Browse the repository at this point in the history
  • Loading branch information
andiflabs committed Nov 20, 2024
1 parent 22898b6 commit 9a6f89d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ironfish-rust-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@ publish = false
[lib]
crate-type = ["cdylib"]

[features]
default = ["transaction-proofs"]

download-params = ["ironfish/download-params"]
note-encryption-stats = ["ironfish/note-encryption-stats"]
transaction-proofs = ["ironfish/transaction-proofs"]

[dependencies]
blstrs = "0.6.0"
getrandom = { version = "0.2.8", features = ["js"] } # need to explicitly enable the `js` feature in order to run in a browser
group = "0.12.0"
ironfish = { version = "0.3.0", path = "../ironfish-rust" }
ironfish = { version = "0.3.0", path = "../ironfish-rust", default-features = false }
ironfish-jubjub = "0.1.0"
ironfish_zkp = { version = "0.2.0", path = "../ironfish-zkp" }
rand = "0.8.5"
Expand Down

0 comments on commit 9a6f89d

Please sign in to comment.