Cargo Features

[dependencies]
fawkes-crypto-phase2 = { version = "0.2.2", default-features = false, features = ["wasm", "rust-crypto"] }
default = rust-crypto

These default features are set whenever fawkes-crypto-phase2 is added without default-features = false somewhere in the dependency tree.

Enables multicore of fawkes-crypto-bellman_ce

active features depend on build type

wasm = console_error_panic_hook, js-sys, wasm-bindgen, web-sys

Enables wasm of fawkes-crypto-bellman_ce

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rust-crypto default
wasm-bindgen wasm?

Enables wasm-bindgen

needed for wasm only

js-sys wasm?
web-sys wasm?
console_error_panic_hook wasm?