diff --git a/Cargo.toml b/Cargo.toml index d7ca294f..580498b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,6 +53,11 @@ udevrs = { version = "^0.3.0", optional = true } udevlib = { package = "udev", version = "^0.8.0", optional = true } rusb = "0.9.4" +[target.riscv64gc-unknown-linux-gnu.dependencies] +udevrs = { version = "^0.3.0", optional = true } +udevlib = { package = "udev", version = "^0.8.0", optional = true } +rusb = "0.9.4" + [features] libusb = ["dep:rusb"] udev = ["libusb", "dep:udevrs"]