Skip to content

Conversation

@JohnAZoidberg
Copy link
Member

No description provided.

Released December 2023.
Present in Ubuntu 24.04: https://packages.ubuntu.com/noble/cargo
At least 1.79 already in Fedora 40: https://packages.fedoraproject.org/pkgs/rust/cargo/
At least 1.79 alrady in FreeBSD 13 and later: https://www.freshports.org/lang/rust

Signed-off-by: Daniel Schaefer <dhs@frame.work>
- sha2: 0.10.6 -> 0.10.8

Signed-off-by: Daniel Schaefer <dhs@frame.work>
- sha2:  0.10.6 -> 0.10.8
- regex: 1.10.4 -> 1.10.6

Signed-off-by: Daniel Schaefer <dhs@frame.work>
- sha2:  0.10.6 -> 0.10.8
- regex: 1.10.4 -> 1.10.6
- libc:  No update
- clap:  4.0 -> 4.5
- clap-verbosity-flag:  2.0.1 -> 2.2.1

Signed-off-by: Daniel Schaefer <dhs@frame.work>
- sha2:  0.10.6 -> 0.10.8
- regex: 1.10.4 -> 1.10.6
- libc:  No update
- clap:  4.0 -> 4.5
- clap-verbosity-flag:  2.0.1 -> 2.2.1
- nix:   0.25.0 -> 0.29.0

Signed-off-by: Daniel Schaefer <dhs@frame.work>
- sha2:  0.10.6 -> 0.10.8
- regex: 1.10.4 -> 1.10.6
- libc:  No update
- clap:  4.0 -> 4.5
- clap-verbosity-flag:  2.0.1 -> 2.2.1
- nix:   0.25.0 -> 0.29.0
- num-derive: 0.3 -> 0.4
- env_logger: 0.10 -> 0.11
- spin:  0.9.4 -> 0.9.8
- hidapi:2.1.0 -> 2.6.1
- rusb:  0.9.1 -> 0.9.4

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Seems with newer hid version, mutable is not required anymore.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg JohnAZoidberg changed the title Update Rust to 1.75 and update dependencies Update Rust to stable and update dependencies Jan 29, 2025
As determined by cargo-msrv.
Should be fine, e.g. Ubuntu 24.04 LTS ships with Rust 1.75.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Don't pin an old release, let's let people use the latest stable.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Now an error because DeviceIoControl doesn't accept an option anymore

Signed-off-by: Daniel Schaefer <dhs@frame.work>
windows 0.58 changed HANDLE from int to void pointer, now it wouldn't
compile anymore because we need it to implement Send. So just implement
a wrapper around it.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Fixes: #63

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg
Copy link
Member Author

Tested on Windows, Linux (portio and cros_ec), EFI. Still works fine.

@JohnAZoidberg JohnAZoidberg merged commit 270cac9 into main Jan 29, 2025
6 checks passed
@JohnAZoidberg JohnAZoidberg deleted the rust-1.75 branch April 25, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants