apdu-derive

Crates.ioapdu-derive
lib.rsapdu-derive
version0.4.0
sourcesrc
created_at2022-06-29 13:18:34.917548
updated_at2023-02-05 12:41:35.047052
descriptionImplementation of procedural macro for apdu crate.
homepagehttps://github.com/siketyan/apdu-rs
repositoryhttps://github.com/siketyan/apdu-rs.git
max_upload_size
id615430
size9,445
Naoki Ikeguchi (siketyan)

documentation

README

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

Commit count: 59

cargo fmt