2020-07-11 14:32:38 +02:00
|
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
|
|
2021-01-06 14:38:32 +01:00
|
|
|
#[macro_use]
|
|
|
|
|
extern crate delog;
|
|
|
|
|
generate_macros!();
|
|
|
|
|
|
2021-06-10 23:21:41 +02:00
|
|
|
pub use iso7816;
|
|
|
|
|
|
|
|
|
|
pub mod command {
|
|
|
|
|
pub const SIZE: usize = 7609;
|
|
|
|
|
pub type Data = iso7816::Data<SIZE>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub mod response {
|
|
|
|
|
pub const SIZE: usize = 7609;
|
|
|
|
|
pub type Data = iso7816::Data<SIZE>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// What apps can expect to send and recieve.
|
2023-02-06 16:12:15 +01:00
|
|
|
pub type Command = iso7816::Command<{ command::SIZE }>;
|
|
|
|
|
pub type Response = iso7816::Response<{ response::SIZE }>;
|
2021-06-10 23:21:41 +02:00
|
|
|
|
2021-04-24 00:38:04 +02:00
|
|
|
pub mod app;
|
|
|
|
|
pub use app::App;
|
2020-07-11 14:32:38 +02:00
|
|
|
pub mod dispatch;
|
2021-06-10 23:21:41 +02:00
|
|
|
pub mod interchanges;
|