From 1cdbb7ffa94dd6242e1c1edcafb002c76d35e016 Mon Sep 17 00:00:00 2001 From: Denys Bezmenov Date: Wed, 13 Nov 2024 14:27:18 -0800 Subject: [PATCH] Disable serialport features for easier cross compiling Disabling default-features for serialport should remove dependency on libudev which is a pain to cross compile in CI-able manner (and is not used in this project) --- actuator/robstride/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actuator/robstride/Cargo.toml b/actuator/robstride/Cargo.toml index 3b83080..1727040 100644 --- a/actuator/robstride/Cargo.toml +++ b/actuator/robstride/Cargo.toml @@ -27,7 +27,7 @@ clap = { version = "4.3", features = ["derive"] } serde = { version = "^1.0", features = ["derive"] } [target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies] -serialport = "^4.2.0" +serialport = { version = "^4.2.0", default-features = false } [[bin]]