udev back

This commit is contained in:
Mateusz Faderewski 2023-03-16 23:44:49 +01:00
parent 19971fa02a
commit 5bb899dcc5
3 changed files with 29 additions and 2 deletions

View File

@ -61,7 +61,7 @@ jobs:
extension: zip extension: zip
- os: ubuntu-latest - os: ubuntu-latest
# linux-packages: libudev-dev linux-packages: libudev-dev
executable: sc64deployer executable: sc64deployer
name: sc64-deployer-linux name: sc64-deployer-linux
options: -czf options: -czf

27
sw/deployer/Cargo.lock generated
View File

@ -654,6 +654,26 @@ dependencies = [
"rle-decode-fast", "rle-decode-fast",
] ]
[[package]]
name = "libudev"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78b324152da65df7bb95acfcaab55e3097ceaab02fb19b228a9eb74d55f135e0"
dependencies = [
"libc",
"libudev-sys",
]
[[package]]
name = "libudev-sys"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324"
dependencies = [
"libc",
"pkg-config",
]
[[package]] [[package]]
name = "link-cplusplus" name = "link-cplusplus"
version = "1.0.8" version = "1.0.8"
@ -856,6 +876,12 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "pkg-config"
version = "0.3.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
[[package]] [[package]]
name = "png" name = "png"
version = "0.17.7" version = "0.17.7"
@ -1045,6 +1071,7 @@ dependencies = [
"IOKit-sys", "IOKit-sys",
"bitflags", "bitflags",
"cfg-if", "cfg-if",
"libudev",
"mach 0.3.2", "mach 0.3.2",
"nix 0.24.3", "nix 0.24.3",
"regex", "regex",

View File

@ -21,7 +21,7 @@ md5 = "0.7.0"
panic-message = "0.3.0" panic-message = "0.3.0"
rust-ini = "0.18.0" rust-ini = "0.18.0"
serial2 = "0.1.7" serial2 = "0.1.7"
serialport = { version = "4.2.0", default-features = false } serialport = "4.2.0"
[profile.release] [profile.release]
lto = true lto = true