Skip to content

Commit

Permalink
ci: fix msvc build
Browse files Browse the repository at this point in the history
  • Loading branch information
Taowyoo committed Nov 1, 2023
1 parent 35d83a8 commit fd3df7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rustls-mbedcrypto-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ mbedtls = { version = "0.12.0-alpha.1", default-features = false, features = [
] }
log = { version = "0.4.20", optional = true }

[target.'cfg(target_env = "msvc")'.dependencies]
# mbedtls need feature `time` to build when targeting msvc
mbedtls = { version = "0.12.0-alpha.1", default-features = false, features = [
"std",
"time",
] }

[dev-dependencies]
rustls = { git = "https://github.com/rustls/rustls", rev = "b776a5778ad333653670c34ff9125d8ae59b6047", version = "0.22.0-alpha.4", default-features = false, features = [
"ring",
Expand Down

0 comments on commit fd3df7a

Please sign in to comment.