File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ description = "usb-device driver for CTAPHID"
1010categories = [" embedded" , " no-std" ]
1111
1212[dependencies ]
13- ctaphid-dispatch = " 0.1.0 "
13+ ctaphid-dispatch = " 0.2 "
1414embedded-time = " 0.12"
1515delog = " 0.1.0"
1616heapless-bytes = " 0.3"
1717interchange = " 0.3.0"
1818serde = { version = " 1.0" , default-features = false }
1919usb-device = " 0.2.3"
2020ref-swap = " 0.1.2"
21- trussed-core = " 0.1.0-rc.1 "
21+ trussed-core = " 0.1"
2222
2323
2424[features ]
@@ -32,4 +32,5 @@ log-warn = []
3232log-error = []
3333
3434[patch .crates-io ]
35- ctaphid-dispatch = { git = " https://github.com/trussed-dev/ctaphid-dispatch.git" , rev = " 5a2864c76fea6785d9ffe4c7b6596237d8378755" }
35+ ctaphid-app = { git = " https://github.com/trussed-dev/ctaphid-dispatch.git" , branch = " release-dispatch-v0.2.0" }
36+ ctaphid-dispatch = { git = " https://github.com/trussed-dev/ctaphid-dispatch.git" , branch = " release-dispatch-v0.2.0" }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use crate::{
1111 types:: Status ,
1212} ;
1313
14- use ctaphid_dispatch:: types :: Requester ;
14+ use ctaphid_dispatch:: Requester ;
1515use usb_device:: {
1616 bus:: { InterfaceNumber , UsbBus , UsbBusAllocator } ,
1717 class:: { ControlIn , ControlOut , UsbClass } ,
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ use core::sync::atomic::Ordering;
1818// pub type ContactInterchange = usbd_ccid::types::ApduInterchange;
1919// pub type ContactlessInterchange = iso14443::types::ApduInterchange;
2020
21- use ctaphid_dispatch:: command:: Command ;
22- use ctaphid_dispatch:: types:: Requester ;
21+ use ctaphid_dispatch:: { app:: Command , Requester } ;
2322use heapless_bytes:: Bytes ;
2423use ref_swap:: OptionRefSwap ;
2524use trussed_core:: InterruptFlag ;
@@ -98,7 +97,7 @@ impl Response {
9897 pub fn error_on_channel ( channel : u32 ) -> Self {
9998 Self {
10099 channel,
101- command : ctaphid_dispatch:: command :: Command :: Error ,
100+ command : ctaphid_dispatch:: app :: Command :: Error ,
102101 length : 1 ,
103102 }
104103 }
You can’t perform that action at this time.
0 commit comments