You've already forked apdu-dispatch
mirror of
https://github.com/trussed-dev/apdu-dispatch.git
synced 2026-03-11 16:36:07 -07:00
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.
477 B
477 B
Apdu Dispatch
This repository contains two crates:
apdu-app: provides anApptrait for applications that accept APDU requestsapdu-dispatch: a layer that accepts APDU (application packet data units) from a contact and/or contactless interface and passes them to apps implementingapdu_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