Cargo Features

[dependencies]
ledger-proto = { version = "0.1.0", default-features = false, features = ["std", "alloc"] }
std default = alloc

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

Enables thiserror ^1.0.40

alloc std

alloc feature gates Vec based types

Affects ledger-proto::GenericApdu

default = std

The std feature is set by default whenever ledger-proto is added without default-features = false somewhere in the dependency tree.