This commit is contained in:
Mateusz Faderewski 2024-07-01 11:46:17 +02:00
parent db9e9fa515
commit 6b33de40f5
2 changed files with 7 additions and 3 deletions

View File

@ -71,7 +71,7 @@ jobs:
- version: linux - version: linux
os: ubuntu-latest os: ubuntu-latest
apt-packages: libudev-dev apt-packages: libftdi1-dev libudev-dev libusb-1.0-0-dev
executable: target/release/sc64deployer executable: target/release/sc64deployer
package-name: sc64-deployer-linux package-name: sc64-deployer-linux
package-params: -czf package-params: -czf

View File

@ -17,8 +17,8 @@ encoding_rs = "0.8.34"
hex = "0.4.3" hex = "0.4.3"
image = "0.25.1" image = "0.25.1"
include-flate = { version = "0.2.0", features = ["stable"] } include-flate = { version = "0.2.0", features = ["stable"] }
libftdi1-sys = { version = "1.1.3", features = ["libusb1-sys", "vendored"] } libftdi1-sys = { version = "1.1.3", features = ["libusb1-sys"] }
libusb1-sys = { version = "0.6.5", features = ["vendored"] } libusb1-sys = "0.6.5"
md5 = "0.7.0" md5 = "0.7.0"
panic-message = "0.3.0" panic-message = "0.3.0"
rand = "0.8.5" rand = "0.8.5"
@ -26,6 +26,10 @@ rust-ini = "0.18.0"
serial2 = "0.2.26" serial2 = "0.2.26"
serialport = "4.4.0" 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] [profile.release]
lto = true lto = true
strip = true strip = true