Files
apdu-dispatch/README.md
Robin Krahl 6994b0ae96 Extract app trait into apdu-app
Currently, all APDU applications depend on apdu-dispatch to implement
the App trait.  This means that they also need to be updated if the
dispatch implementation is changed.  This causes unnecessary releases
and maintenance work.  By introducing the apdu-app crate, we can change
the dispatch implementation without affecting the applications.
2024-06-05 13:25:02 +02:00

477 B

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