Cargo Features
[dependencies]
ocular = { version = "1.0.0-beta-0.0.1", default-features = false, features = ["query", "tx", "tendermint-rpc-ws"] }
- default = tx
-
The
tx
feature is set by default wheneverocular
is added without
somewhere in the dependency tree.default-features = false - query tx
-
Affects
ocular::query
,prelude::query
… - tx default = query
-
Affects
ocular::chain
,ocular::tx
,prelude::tx
… - tendermint-rpc-ws = tendermint-rpc
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.