Skip to content

Commit

Permalink
Fix CI errors/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Arash Sahebolamri committed Sep 20, 2024
1 parent 714404e commit c10eb2b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions rustls-mbedcrypto-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ path = "examples/internal/bench.rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(bench)'] }
9 changes: 6 additions & 3 deletions rustls-mbedpki-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ resolver = "2"

[dependencies]
chrono = "0.4"
mbedtls = { version = "0.12.3", default_features = false, features = [
mbedtls = { version = "0.12.3", default-features = false, features = [
"chrono",
"std",
"x509",
] }
rustls = { version = "0.23.5", default_features = false }
rustls = { version = "0.23.5", default-features = false }
utils = { package = "rustls-mbedtls-provider-utils", path = "../rustls-mbedtls-provider-utils", version = "0.2.0" }
x509-parser = "0.15"

[dev-dependencies]
mbedtls = { version = "0.12.2", default_features = false, features = [
mbedtls = { version = "0.12.2", default-features = false, features = [
"time",
] } # We enable the time feature for tests to make sure it does not mess up cert expiration checking
rustls = { version = "0.23.5", default-features = false, features = [
Expand All @@ -31,3 +31,6 @@ rustls = { version = "0.23.5", default-features = false, features = [
"tls12",
] }
rustls-pemfile = "2"

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(bench)'] }
3 changes: 3 additions & 0 deletions rustls-mbedtls-provider-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ resolver = "2"
[dependencies]
mbedtls = { version = "0.12.3", default-features = false, features = ["std"] }
rustls = { version = "0.23.5", default-features = false, features = ["std"] }

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(bench)'] }

0 comments on commit c10eb2b

Please sign in to comment.