Skip to content

Commit

Permalink
chore: bump rusb to 0.9.4
Browse files Browse the repository at this point in the history
With rusb 0.9.4 the DeviceHandle no longer has to be mutable; bump to
this version to allow adjusting the code to match
  • Loading branch information
sjoerdsimons committed Oct 19, 2024
1 parent 4dd4641 commit 6d53be8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rockusb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ crc = "3.0.1"
fastrand = "2"
num_enum = "0.7"
thiserror = "1.0.38"
rusb = { version = "0.9.1", optional = true }
rusb = { version = "0.9.4", optional = true }
nusb = { version = "0.1.10", optional = true }
futures = { version = "0.3.31", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion rockusb/src/libusb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub struct Transport {

impl Transport {
fn new(
mut handle: DeviceHandle<rusb::GlobalContext>,
handle: DeviceHandle<rusb::GlobalContext>,
interface: u8,
ep_in: u8,
ep_out: u8,
Expand Down

0 comments on commit 6d53be8

Please sign in to comment.