Cargo Features

[dependencies]
lwk_ledger = { version = "0.9.0", default-features = false, features = ["test_emulator", "asyncr", "serial"] }
default = test_emulator

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

test_emulator default = lwk_containers
asyncr = tokio

Affects lwk_ledger::asyncr

serial = ledger-transport-hid

note it's usb and not serial, but it's consistent with Jade

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.

lwk_containers test_emulator
ledger-transport-hid serial?
tokio asyncr?