Skip to content

Commit ca8c2d0

Browse files
committed
make sure winreg is only on windows
1 parent 5310024 commit ca8c2d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ walkdir = "2"
2828
zip = "0.5.13"
2929
semver = "1.0.14"
3030
reqwest = { version = "0.11.12", features = ["json", "blocking"] }
31+
32+
[target.'cfg(windows)'.dependencies]
3133
winreg = "0.7.0"
3234

3335
[build-dependencies]

0 commit comments

Comments
 (0)