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

#1808 in Embedded development

Download history 41/week @ 2024-12-25 26/week @ 2025-01-01 61/week @ 2025-01-08 99/week @ 2025-01-15 89/week @ 2025-01-22 32/week @ 2025-01-29 93/week @ 2025-02-05 250/week @ 2025-02-12 76/week @ 2025-02-19 200/week @ 2025-02-26 279/week @ 2025-03-05 52/week @ 2025-03-12 98/week @ 2025-03-19 44/week @ 2025-03-26 25/week @ 2025-04-02 23/week @ 2025-04-09

208 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