diff --git a/Cargo.toml b/Cargo.toml index 7a1f210..82261bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,6 @@ flate2 = "^1.0.22" toml = { version = "^0.5.8", optional = true } futures = { version = "^0.3.17" } dashmap = { version = "^4.0.2", features = ["serde"] } -winreg = "0.10.1" [build-dependencies] fl2rust = { version = "0.4", optional = true } @@ -29,3 +28,6 @@ fl2rust = { version = "0.4", optional = true } [features] # default = ["ui"] ui = ["fltk", "fl2rust", "toml"] + +[target.'cfg(windows)'.dependencies] +winreg = "0.10.1" \ No newline at end of file