Skip to content

Commit f98ab74

Browse files
Update dependencies
1 parent 96bf04e commit f98ab74

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ description = "usb-device driver for CTAPHID"
1010
categories = ["embedded", "no-std"]
1111

1212
[dependencies]
13-
ctaphid-dispatch = "0.1.0"
13+
ctaphid-dispatch = "0.2"
1414
embedded-time = "0.12"
1515
delog = "0.1.0"
1616
heapless-bytes = "0.3"
1717
interchange = "0.3.0"
1818
serde = { version = "1.0", default-features = false }
1919
usb-device = "0.2.3"
2020
ref-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 = []
3232
log-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" }

src/class.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::{
1111
types::Status,
1212
};
1313

14-
use ctaphid_dispatch::types::Requester;
14+
use ctaphid_dispatch::Requester;
1515
use usb_device::{
1616
bus::{InterfaceNumber, UsbBus, UsbBusAllocator},
1717
class::{ControlIn, ControlOut, UsbClass},

src/pipe.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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};
2322
use heapless_bytes::Bytes;
2423
use ref_swap::OptionRefSwap;
2524
use 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
}

0 commit comments

Comments
 (0)