From 19971fa02a040a5809f2e7676cb65006a5154897 Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Thu, 16 Mar 2023 23:36:00 +0100 Subject: [PATCH] remove udev --- .github/workflows/build.yml | 2 +- sw/deployer/Cargo.lock | 27 --------------------------- sw/deployer/Cargo.toml | 2 +- 3 files changed, 2 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a36b892..1f20c37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,7 @@ jobs: extension: zip - os: ubuntu-latest - linux-packages: libudev-dev + # linux-packages: libudev-dev executable: sc64deployer name: sc64-deployer-linux options: -czf diff --git a/sw/deployer/Cargo.lock b/sw/deployer/Cargo.lock index 686903a..713d36f 100644 --- a/sw/deployer/Cargo.lock +++ b/sw/deployer/Cargo.lock @@ -654,26 +654,6 @@ dependencies = [ "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]] name = "link-cplusplus" version = "1.0.8" @@ -876,12 +856,6 @@ dependencies = [ "syn", ] -[[package]] -name = "pkg-config" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" - [[package]] name = "png" version = "0.17.7" @@ -1071,7 +1045,6 @@ dependencies = [ "IOKit-sys", "bitflags", "cfg-if", - "libudev", "mach 0.3.2", "nix 0.24.3", "regex", diff --git a/sw/deployer/Cargo.toml b/sw/deployer/Cargo.toml index a08ec17..1e8f005 100644 --- a/sw/deployer/Cargo.toml +++ b/sw/deployer/Cargo.toml @@ -21,7 +21,7 @@ md5 = "0.7.0" panic-message = "0.3.0" rust-ini = "0.18.0" serial2 = "0.1.7" -serialport = "4.2.0" +serialport = { version = "4.2.0", default-features = false } [profile.release] lto = true