ctaphid_dispatch/lib.rs
1//! # ctaphid-dispatch
2//!
3//! This library defines a concept of CTAPHID apps, which declare
4//! CTAPHID commands, which are then dispatched to them.
5//!
6//! The intention is for non-FIDO authenticator apps to be able
7//! to extend the CTAPHID interface with additional functionality.
8//!
9//! For instance, the Solo 2 management app.
10#![cfg_attr(not(feature = "std"), no_std)]
11
12#[macro_use]
13extern crate delog;
14generate_macros!();
15
16mod dispatch;
17mod types;
18
19pub use ctaphid_app as app;
20
21pub use dispatch::Dispatch;
22pub use types::{Channel, InterchangeResponse, Requester, Responder, DEFAULT_MESSAGE_SIZE};
23
24pub type DefaultDispatch<'pipe, 'interrupt> = Dispatch<'pipe, 'interrupt, DEFAULT_MESSAGE_SIZE>;