6 releases (3 breaking)

0.4.0 Feb 5, 2023
0.3.0 Oct 24, 2022
0.2.1 Jul 5, 2022
0.1.1 Jun 29, 2022

#26 in #apdu

Download history 15/week @ 2024-07-08 16/week @ 2024-07-15 9/week @ 2024-07-22 12/week @ 2024-07-29 115/week @ 2024-08-05 66/week @ 2024-08-12 37/week @ 2024-08-19 36/week @ 2024-08-26 4/week @ 2024-09-02 22/week @ 2024-09-09 12/week @ 2024-09-16 23/week @ 2024-09-23 7/week @ 2024-09-30 27/week @ 2024-10-14

57 downloads per month
Used in 4 crates (via apdu)

MIT license

22KB
356 lines

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

Dependencies

~1.5MB
~36K SLoC