Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Dec 17, 2024
1 parent 4b95567 commit f2caa03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ regex-lite = "0.1.6"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "stream", "socks"] }
rustls = { version = "0.23.18", default-features = false, features = ["brotli", "ring", "std", "tls12", "zlib"] }
scopeguard = "1.2"
sha1 = { version = "0.10.6", default-features = false, features = ["asm", "oid"] }
tempfile = "3.10"
tokio = { version = "1", features = ["full", "parking_lot"] }
tokio-rustls = { version = "0.26.0", default-features = false, features = ["tls12"] }
Expand All @@ -57,9 +56,10 @@ tikv-jemallocator = { version = "0.6" } # jemalloc not support background thread

[target.'cfg(unix)'.dependencies]
rustix = { version = "0.38.34", features = ["fs"] }
sha1 = { version = "0.10.6", default-features = false, features = ["asm", "oid"] }

[target.'cfg(windows)'.dependencies]
sha1 = { version = "0.10.6", default-features = false, features = ["oid"] }
sha1 = { version = "0.10.6", default-features = false, features = ["oid"] } # sha1-asm not support windows
tray-icon = { version = "0.19.1", default-features = false }
windows = { version = "0.58.0", features = ["Win32_Foundation", "Win32_System_Console", "Win32_UI_WindowsAndMessaging", "Win32_Storage_FileSystem"] }
tao = "0.30.8"
Expand Down

0 comments on commit f2caa03

Please sign in to comment.