Skip to content

Commit

Permalink
Conditionally include winreg
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipK committed Jan 1, 2022
1 parent b7c1bb9 commit 2e97078
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ 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 }

[features]
# default = ["ui"]
ui = ["fltk", "fl2rust", "toml"]

[target.'cfg(windows)'.dependencies]
winreg = "0.10.1"

0 comments on commit 2e97078

Please sign in to comment.