7 unstable releases

0.3.1 Feb 12, 2025
0.3.0 Oct 18, 2024
0.2.0 Nov 22, 2023
0.1.2 Feb 7, 2023
0.0.0-unreleased Apr 25, 2021

#2527 in Embedded development

Download history 41/week @ 2024-12-17 44/week @ 2024-12-24 19/week @ 2024-12-31 64/week @ 2025-01-07 64/week @ 2025-01-14 124/week @ 2025-01-21 31/week @ 2025-01-28 69/week @ 2025-02-04 270/week @ 2025-02-11 76/week @ 2025-02-18 171/week @ 2025-02-25 249/week @ 2025-03-04 102/week @ 2025-03-11 83/week @ 2025-03-18 64/week @ 2025-03-25 31/week @ 2025-04-01

320 downloads per month
Used in 3 crates

Apache-2.0 OR MIT

24KB
410 lines

Apdu Dispatch

This repository contains two crates:

  • apdu-app: provides an App trait for applications that accept APDU requests
  • apdu-dispatch: a layer that accepts APDU (application packet data units) from a contact and/or contactless interface and passes them to apps implementing apdu_app::App. It handles parsing APDU's, chaining, T=0, T=1 and keeps track of the selected application.

Run tests via cargo test --features std,log-all

Dependencies

~0.8–27MB
~306K SLoC