Cargo Features
[dependencies]
near-cli-rs = { version = "0.15.1", default-features = false, features = ["ledger", "self-update"] }
- default = ledger, self-update
-
These default features are set whenever
near-cli-rs
is added without
somewhere in the dependency tree.default-features = false - ledger default = near-ledger
-
Affects
transaction_signature_options::sign_with_ledger
… - self-update default = self_update, semver
-
Affects
commands::extensions
…
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.