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.