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

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.

namada_migrations migrations
namada_test_utils benches? testing?
clap testing?
lazy_static testing?
linkme migrations
rand testing?

Enables rand ^0.8

rand_core benches?

Enables rand_core ^0.6

tracing-subscriber benches?