Skip to content

Commit

Permalink
Order dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Apr 11, 2024
1 parent 972a4dd commit 7b8318a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions plugins/updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,27 @@ futures-util = "0.3"
tempfile = "3"
zip = { version = "0.6", optional = true }

[target."cfg(target_os = \"windows\")".dependencies]
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.52.0", features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
] }

[target."cfg(target_os = \"linux\")".dependencies]
[target.'cfg(target_os = "linux")'.dependencies]
dirs-next = "2"

[target."cfg(any(target_os = \"macos\", target_os = \"linux\"))".dependencies]
tar = { version = "0.4", optional = true }
flate2 = "1.0.27"
flate2 = { version = "1", optional = true }

[target.'cfg(target_os = "macos")'.dependencies]
tar = "0.4"
flate2 = "1"

[dev-dependencies]
mockito = "0.31"

[features]
default = ["zip"]
zip = ["dep:zip", "dep:tar"]
zip = ["dep:zip", "dep:tar", "dep:flate2"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
rustls-tls = ["reqwest/rustls-tls"]

0 comments on commit 7b8318a

Please sign in to comment.