🦀 apdu-rs

Rust

Rust library to compose or parse APDU commands and responses.

🏗 Crates

This repository is made of these crates separately:

apdu

crates.io docs

apdu-core

crates.io docs

apdu-derive

crates.io docs

📦 Getting Started

Add to your Cargo.toml as a dependency as follows: toml [dependencies] apdu = "0.3"

🛠 Longer payloads support

This library supports longer payloads of APDU commands and responses. If you want to use these, turn longer_payloads feature on:

toml apdu-core = { version = "0.3", features = ["longer_payloads"] }

🛠 no_std support

apdu-core crate does support nostd environments (but it requires alloc yet). If you are using this crate in nostd, turn std feature off by disabling default features:

toml [dependencies] apdu-core = { version = "0.3", default-features = false }

📄 Documentation

See docs.rs.