Cargo Features
[dependencies]
miden-client = { version = "0.5.0", default-features = false, features = ["std", "async", "concurrent", "idxdb", "sqlite", "tonic", "web-tonic", "testing", "thiserror", "tokio"] }
- default = std
-
The
std
feature is set by default whenevermiden-client
is added without
somewhere in the dependency tree.default-features = false - std default concurrent? sqlite? tonic?
-
Enables std of miden-objects
- async idxdb?
- concurrent = std
-
Enables concurrent of miden-lib, miden-objects, and miden-tx
- idxdb = async
-
Enables base64, serde-wasm-bindgen, wasm-bindgen, and wasm-bindgen-futures
Affects
store::web_store
… - sqlite = std
-
Enables lazy_static, rusqlite ^0.31, and rusqlite_migration
Affects
store::sqlite_store
… - tonic = std
-
Enables hex and prost ^0.12, transport of tonic ^0.11
- web-tonic
-
Enables getrandom, hex, prost ^0.12, tonic ^0.11, and tonic-web-wasm-client ^0.5
- testing
-
Enables testing of miden-lib and miden-objects
miden-lib:
the testing feature is required to enable the account creation pow patch
Affects
miden-client::testing
…
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.