Cargo Features

miden-client has no features set by default.

[dependencies]
miden-client = { version = "0.6.1", features = ["std", "concurrent", "idxdb", "sqlite", "tonic", "web-tonic", "testing", "thiserror", "tokio"] }
std concurrent? sqlite? tonic?

Enables std of miden-objects

concurrent = std

Enables concurrent of miden-lib, miden-objects, and miden-tx

idxdb

Enables base64, serde-wasm-bindgen, wasm-bindgen, and wasm-bindgen-futures

Affects store::web_store

sqlite = std

Enables deadpool-sqlite and rusqlite

Affects store::sqlite_store

tonic = std

Enables hex and prost, transport of tonic

web-tonic

Enables getrandom, hex, prost, tonic, and tonic-web-wasm-client

testing

Enables testing of miden-lib, miden-objects, and miden-tx

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.

getrandom web-tonic?
thiserror implicit feature

Enables thiserror ^1.0

thiserror:

derive(Error)

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications