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 whenever snarkvm-ledger-query is added without default-features = false somewhere in the dependency tree.

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