diff --git a/Cargo.toml b/Cargo.toml index 654fc71..d336768 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] }