fix conditional compilation

This commit is contained in:
Ferdinand Schober
2024-07-12 18:18:46 +02:00
parent 7e77e0c3f5
commit f74b7f98fe
7 changed files with 21 additions and 3 deletions

View File

@@ -12,6 +12,8 @@ log = "0.4.22"
num_enum = "0.7.2"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.61"
[target.'cfg(all(unix, not(target_os="macos")))'.dependencies]
reis = { version = "0.2.0", optional = true }
[features]

View File

@@ -5,7 +5,7 @@ pub mod error;
pub mod proto;
pub mod scancode;
#[cfg(feature = "libei")]
#[cfg(all(unix, feature = "libei", not(target_os = "macos")))]
mod libei;
// FIXME