diff --git a/Cargo.toml b/Cargo.toml index 358fff2..3502664 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,9 +17,6 @@ lazy_static = "1" log = "0.4" thiserror = "1" -[build-dependencies] -windows = "0.4" - [dev-dependencies] env_logger = "0.8" @@ -27,6 +24,9 @@ env_logger = "0.8" tolk = { version = "0.3", optional = true } windows = "0.4" +[target.'cfg(windows)'.build-dependencies] +windows = "0.4" + [target.'cfg(target_os = "linux")'.dependencies] speech-dispatcher = "0.7"