#apdu #response #command #parser #compose #payload #composing

no-std apdu-core

Core library for composing APDU commands and parsing their responses

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

#8 in #composing

Download history 23/week @ 2024-07-21 33/week @ 2024-07-28 122/week @ 2024-08-04 88/week @ 2024-08-11 37/week @ 2024-08-18 44/week @ 2024-08-25 40/week @ 2024-09-01 39/week @ 2024-09-08 26/week @ 2024-09-15 52/week @ 2024-09-22 41/week @ 2024-09-29 2/week @ 2024-10-06 32/week @ 2024-10-13 10/week @ 2024-10-20 12/week @ 2024-10-27 39/week @ 2024-11-03

93 downloads per month
Used in 8 crates (4 directly)

MIT license

13KB
263 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.

No runtime deps

Features