Cargo Features
[dependencies]
snarkvm-ledger-query = { version = "1.0.0", default-features = false, features = ["async", "serial", "wasm", "query"] }
- default = query
-
The
query
feature is set by default wheneversnarkvm-ledger-query
is added without
somewhere in the dependency tree.default-features = false - async = reqwest
-
Affects
traits::QueryTrait.current_state_root_async
,traits::QueryTrait.get_state_path_for_commitment_async
… - serial
-
Enables serial of snarkvm-console, snarkvm-ledger-store, and snarkvm-synthesizer-program
- wasm
-
Enables wasm of snarkvm-console, snarkvm-ledger-store, and snarkvm-synthesizer-program
- query default = ledger-store, synthesizer-program, ureq
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.
- reqwest async?
-
Enables reqwest ^0.11.20
- ureq query
- ledger-store query serial? wasm?
-
Enables snarkvm-ledger-store
- synthesizer-program query serial? wasm?
-
Enables snarkvm-synthesizer-program