Skip to content

Commit fcf7a22

Browse files
author
Jason Mobarak
authored
Only use rustls on Linux [CPP-766] (#587)
1 parent 97a7c9e commit fcf7a22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

console_backend/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,14 @@ sbp = { version = "4.3.0", features = ["json", "link", "swiftnav"] }
4444
sbp-settings = "0.6.9"
4545
env_logger = { version = "0.9", optional = true }
4646
mimalloc = { version = "0.1", default-features = false }
47-
curl = { version = "0.4", features = ["rustls", "static-curl"] }
4847
indicatif = { version = "0.16", optional = true }
4948

5049
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
5150
serialport = { git = "https://github.com/swift-nav/serialport-rs.git" }
51+
curl = { version = "0.4", features = ["ssl", "static-curl"] }
52+
53+
[target.'cfg(target_os = "linux")'.dependencies]
54+
curl = { version = "0.4", features = ["rustls", "static-curl"] }
5255

5356
[target.'cfg(target_os = "windows")'.dependencies]
5457
windows = { version = ">=0.24", features = [

0 commit comments

Comments
 (0)