Skip to content

Commit

Permalink
Only dep tokio-openssl on not unix
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Mar 4, 2024
1 parent 40f9622 commit 87a2999
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 @@ -36,11 +36,13 @@ scopeguard = "1.2"
socket2 = "0.5"
tempfile = "3.10"
tokio = { version = "1", features = ["full", "parking_lot"] }
tokio-openssl = "0.6"
tokio-stream = { version = "0.1", default-features = false, features = ["fs"] }
tower = { version = "0.4", features = ["util", "timeout"] }
tower-http = { version = "0.5", features = ["fs"] }

[target.'cfg(not(unix))'.dependencies]
tokio-openssl = "0.6"

[target.'cfg(not(any(target_env = "msvc", target_os = "macos")))'.dependencies]
tikv-jemallocator = { version = "0.5", features = ["background_threads", "unprefixed_malloc_on_supported_platforms"] }

Expand Down

0 comments on commit 87a2999

Please sign in to comment.