Skip to content

Commit 069bba8

Browse files
committed
Fix windows CI
1 parent e79ddd3 commit 069bba8

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

Cargo.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,16 @@ flate2 = "1.1.9"
2121
http-body = "1.0.1"
2222
httpdate = "1.0.3"
2323
mime_guess = "2.0.5"
24-
openssl = { version = "0.10.76", optional = true }
2524
time = { version = "0.3.47", features = ["formatting", "local-offset", "macros"] }
2625
tokio = { version = "1.50.0", features = ["rt-multi-thread", "net", "fs", "io-util", "time", "sync"] }
2726
tokio-openssl = { version = "0.6.5", optional = true }
2827

28+
[target.'cfg(not(windows))'.dependencies]
29+
openssl = { version = "0.10.76", optional = true }
30+
31+
[target.'cfg(windows)'.dependencies]
32+
openssl = { version = "0.10.76", optional = true, features = ["vendored"] }
33+
2934
[dev-dependencies]
3035
http-body-util = "0.1.3"
3136
tower = { version = "0.5.3", features = ["util"] }

0 commit comments

Comments
 (0)