Cargo Features

[dependencies]
nam-ledger-proto = { version = "0.1.1-nam.0", default-features = false, features = ["std", "alloc", "serde"] }
std default = alloc

std feature implements std::error::Error for ApduError type

Enables thiserror

alloc std

alloc feature gates Vec based types

Affects nam-ledger-proto::GenericApdu

serde default

serde feature enables object serialisation and deserialisation

Enables hex and serde, serde of bitflags

default = serde, std

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