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

#1901 in Embedded development

Download history 84/week @ 2024-12-07 66/week @ 2024-12-14 22/week @ 2024-12-21 38/week @ 2024-12-28 57/week @ 2025-01-04 50/week @ 2025-01-11 147/week @ 2025-01-18 24/week @ 2025-01-25 61/week @ 2025-02-01 212/week @ 2025-02-08 145/week @ 2025-02-15 76/week @ 2025-02-22 310/week @ 2025-03-01 141/week @ 2025-03-08 78/week @ 2025-03-15 56/week @ 2025-03-22

620 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–26MB
~306K SLoC