From 688c0242c1647eee29dce084240aed64c905eaf3 Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Mon, 1 Jul 2024 12:23:56 +0200 Subject: [PATCH] go back --- .github/workflows/build.yml | 2 +- sw/deployer/Cargo.toml | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e435d9..af4ea64 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,7 +71,7 @@ jobs: - version: linux os: ubuntu-latest - apt-packages: libftdi1-dev libudev-dev libusb-1.0-0-dev + apt-packages: libudev-dev executable: target/release/sc64deployer package-name: sc64-deployer-linux package-params: -czf diff --git a/sw/deployer/Cargo.toml b/sw/deployer/Cargo.toml index 9c1d6c0..b6f5ff0 100644 --- a/sw/deployer/Cargo.toml +++ b/sw/deployer/Cargo.toml @@ -17,8 +17,8 @@ encoding_rs = "0.8.34" hex = "0.4.3" image = "0.25.1" include-flate = { version = "0.2.0", features = ["stable"] } -libftdi1-sys = { version = "1.1.3", features = ["libusb1-sys"] } -libusb1-sys = "0.6.5" +libftdi1-sys = { version = "1.1.3", features = ["libusb1-sys", "vendored"] } +libusb1-sys = { version = "0.6.5", features = ["vendored"] } md5 = "0.7.0" panic-message = "0.3.0" rand = "0.8.5" @@ -26,10 +26,6 @@ rust-ini = "0.18.0" serial2 = "0.2.26" serialport = "4.4.0" -[target.'cfg(not(target_os = "linux"))'.dependencies] -libftdi1-sys = { version = "1.1.3", features = ["vendored"] } -libusb1-sys = { version = "0.6.5", features = ["vendored"] } - [profile.release] lto = true strip = true