Cargo Features

[dependencies]
waterfalls = { version = "0.3.1", default-features = false, features = ["db", "test_env"] }
default = db, test_env

These default features are set whenever waterfalls is added without default-features = false somewhere in the dependency tree.

db default = rocksdb

Affects server::Arguments.datadir, store::db, test_env::launch, test_env::launch_with_node

test_env default = bitcoind

Affects waterfalls::test_env

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.

rocksdb db
bitcoind test_env

Enables bitcoind

it's used instead of elementsd because we don't use autodownload, neither validatepegin and we also have to specify custom args (rest=1)