Cargo Features

[dependencies]
namada_apps_lib = { version = "0.47.2", default-features = false, features = ["mainnet", "testing", "benches", "migrations", "namada-eth-bridge"] }
default = migrations

The migrations feature is set by default whenever namada_apps_lib is added without default-features = false somewhere in the dependency tree.

mainnet

Enables mainnet of namada_sdk

testing = lazy_static

for tests and test utilities

Enables testing of namada_sdk

Affects utils::safe_exit

benches = lazy_static

Enables benches of namada_sdk

migrations default = linkme, namada_migrations

Enables migrations of namada_sdk

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
lazy_static benches? testing?
linkme migrations