Cargo Features

[dependencies]
ebds = { version = "0.4.1", default-features = false, features = ["std", "s2k", "sc", "arbitrary", "amd", "mxn", "usd"] }
default = sc, usd

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

std

Enables serde-std of currency-iso4217 and std of serde and serde_json

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects hardware::get_device_path, ebds::bau_currency

e2e s2k
sc default
arbitrary

Enables derive of arbitrary

arbitrary:

Turn this feature on to enable support for #[derive(Arbitrary)].

amd

Currency sets

Affects ebds::DEFAULT_CURRENCY

aud cad cny gbp jpy mxn

Affects ebds::DEFAULT_CURRENCY

usd default

Affects ebds::DEFAULT_CURRENCY