From 6b33de40f5d2559df0d4ffacccb5741487ae6a95 Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Mon, 1 Jul 2024 11:46:17 +0200 Subject: [PATCH] test --- .github/workflows/build.yml | 2 +- sw/deployer/Cargo.toml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af4ea64..6e435d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,7 +71,7 @@ jobs: - version: linux os: ubuntu-latest - apt-packages: libudev-dev + apt-packages: libftdi1-dev libudev-dev libusb-1.0-0-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 b6f5ff0..9c1d6c0 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", "vendored"] } -libusb1-sys = { version = "0.6.5", features = ["vendored"] } +libftdi1-sys = { version = "1.1.3", features = ["libusb1-sys"] } +libusb1-sys = "0.6.5" md5 = "0.7.0" panic-message = "0.3.0" rand = "0.8.5" @@ -26,6 +26,10 @@ 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