This commit is contained in:
Mateusz Faderewski 2024-07-01 12:23:56 +02:00
parent 6b33de40f5
commit 688c0242c1
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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