Cargo Features
[dependencies]
namada_node = { version = "0.47.2", default-features = false, features = ["mainnet", "testing", "benches", "jemalloc", "migrations", "namada-eth-bridge"] }
- default = migrations
-
The
migrations
feature is set by default whenevernamada_node
is added without
somewhere in the dependency tree.default-features = false - mainnet
-
Enables mainnet of namada_sdk
- testing = clap, lazy_static, namada_test_utils, rand
-
for tests and test utilities
Enables testing of namada_apps_lib
- benches = namada_test_utils, rand_core, tracing-subscriber
-
Enables benches of namada_apps_lib
Affects
namada_node::bench_utils
… - jemalloc
-
Enables jemalloc of rocksdb ^0.22.0
- migrations default = linkme, namada_migrations
-
Enables migrations of namada_sdk
Affects
namada_node::query_db
… - namada-eth-bridge
-
Enables namada-eth-bridge of namada_sdk
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.