ctaphid_dispatch/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! # ctaphid-dispatch
//!
//! This library defines a concept of CTAPHID apps, which declare
//! CTAPHID commands, which are then dispatched to them.
//!
//! The intention is for non-FIDO authenticator apps to be able
//! to extend the CTAPHID interface with additional functionality.
//!
//! For instance, the Solo 2 management app.
#![cfg_attr(not(feature = "std"), no_std)]

#[macro_use]
extern crate delog;
generate_macros!();

mod dispatch;
mod types;

pub use ctaphid_app as app;

pub use dispatch::Dispatch;
pub use types::{Channel, InterchangeResponse, Message, Requester, Responder, MESSAGE_SIZE};