Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.51 KB

README.md

File metadata and controls

46 lines (35 loc) · 1.51 KB

🦀 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:

[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:

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

🛠 no_std support

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

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

📄 Documentation

See docs.rs.