Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Jan 8, 2025
1 parent 96bf04e commit f98ab74
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ description = "usb-device driver for CTAPHID"
categories = ["embedded", "no-std"]

[dependencies]
ctaphid-dispatch = "0.1.0"
ctaphid-dispatch = "0.2"
embedded-time = "0.12"
delog = "0.1.0"
heapless-bytes = "0.3"
interchange = "0.3.0"
serde = { version = "1.0", default-features = false }
usb-device = "0.2.3"
ref-swap = "0.1.2"
trussed-core = "0.1.0-rc.1"
trussed-core = "0.1"


[features]
Expand All @@ -32,4 +32,5 @@ log-warn = []
log-error = []

[patch.crates-io]
ctaphid-dispatch = { git = "https://github.com/trussed-dev/ctaphid-dispatch.git", rev = "5a2864c76fea6785d9ffe4c7b6596237d8378755" }
ctaphid-app = { git = "https://github.com/trussed-dev/ctaphid-dispatch.git", branch = "release-dispatch-v0.2.0" }
ctaphid-dispatch = { git = "https://github.com/trussed-dev/ctaphid-dispatch.git", branch = "release-dispatch-v0.2.0" }
2 changes: 1 addition & 1 deletion src/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use crate::{
types::Status,
};

use ctaphid_dispatch::types::Requester;
use ctaphid_dispatch::Requester;
use usb_device::{
bus::{InterfaceNumber, UsbBus, UsbBusAllocator},
class::{ControlIn, ControlOut, UsbClass},
Expand Down
5 changes: 2 additions & 3 deletions src/pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ use core::sync::atomic::Ordering;
// pub type ContactInterchange = usbd_ccid::types::ApduInterchange;
// pub type ContactlessInterchange = iso14443::types::ApduInterchange;

use ctaphid_dispatch::command::Command;
use ctaphid_dispatch::types::Requester;
use ctaphid_dispatch::{app::Command, Requester};
use heapless_bytes::Bytes;
use ref_swap::OptionRefSwap;
use trussed_core::InterruptFlag;
Expand Down Expand Up @@ -98,7 +97,7 @@ impl Response {
pub fn error_on_channel(channel: u32) -> Self {
Self {
channel,
command: ctaphid_dispatch::command::Command::Error,
command: ctaphid_dispatch::app::Command::Error,
length: 1,
}
}
Expand Down

0 comments on commit f98ab74

Please sign in to comment.