mirror of https://github.com/ctz/rustls
Merge 2117c4663e
into 4ba3a0a8c5
This commit is contained in:
commit
7e906c1249
File diff suppressed because it is too large
Load Diff
|
@ -18,11 +18,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "64cf76cb6e2222ed0ea86b2b0ee2f71c96ec6edd5af42e84d59160e91b836ec4"
|
||||
|
||||
[[package]]
|
||||
name = "aws-lc-rs"
|
||||
version = "1.6.1"
|
||||
name = "aws-lc-fips-sys"
|
||||
version = "0.12.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bb94ba389c4c48d9dc1983f8653cb92f7d9fc50b261e0501be2b7a636cbcbc4a"
|
||||
checksum = "ae2108c0c026115b1bbc2e779aab668e802e98ae5f843b8cb470d8fc169db32e"
|
||||
dependencies = [
|
||||
"bindgen",
|
||||
"cmake",
|
||||
"dunce",
|
||||
"fs_extra",
|
||||
"libc",
|
||||
"paste",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "aws-lc-rs"
|
||||
version = "1.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5509d663b2c00ee421bda8d6a24d6c42e15970957de1701b8df9f6fbe5707df1"
|
||||
dependencies = [
|
||||
"aws-lc-fips-sys",
|
||||
"aws-lc-sys",
|
||||
"mirai-annotations",
|
||||
"paste",
|
||||
|
@ -31,11 +46,12 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "aws-lc-sys"
|
||||
version = "0.13.0"
|
||||
version = "0.15.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b6e564487156f6ea22217c06263abd92ee65e4d9ff3dbc1f99f703f060f94715"
|
||||
checksum = "8d5d317212c2a78d86ba6622e969413c38847b62f48111f8b763af3dac2f9840"
|
||||
dependencies = [
|
||||
"bindgen",
|
||||
"cc",
|
||||
"cmake",
|
||||
"dunce",
|
||||
"fs_extra",
|
||||
|
@ -78,6 +94,7 @@ version = "1.0.83"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
|
||||
dependencies = [
|
||||
"jobserver",
|
||||
"libc",
|
||||
]
|
||||
|
||||
|
@ -179,6 +196,15 @@ dependencies = [
|
|||
"either",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "jobserver"
|
||||
version = "0.1.31"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lazy_static"
|
||||
version = "1.4.0"
|
||||
|
@ -382,15 +408,15 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rustls-pki-types"
|
||||
version = "1.2.0"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0a716eb65e3158e90e17cd93d855216e27bde02745ab842f2cab4a39dba1bacf"
|
||||
checksum = "beb461507cee2c2ff151784c52762cf4d9ff6a61f3e80968600ed24fa837fa54"
|
||||
|
||||
[[package]]
|
||||
name = "rustls-webpki"
|
||||
version = "0.102.2"
|
||||
version = "0.102.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610"
|
||||
checksum = "f3bce581c0dd41bce533ce695a1437fa16a7ab5ac3ccfa99fe1a620a7885eabf"
|
||||
dependencies = [
|
||||
"aws-lc-rs",
|
||||
"ring",
|
||||
|
|
|
@ -10,8 +10,8 @@ repository = "https://github.com/rustls/rustls"
|
|||
categories = ["network-programming", "cryptography"]
|
||||
|
||||
[dependencies]
|
||||
rustls = { version = "0.23.2", features = ["aws_lc_rs"], path = "../rustls" }
|
||||
aws-lc-rs = { version = "1.6", features = ["unstable"], default-features = false }
|
||||
rustls = { version = "0.23.5", features = ["aws_lc_rs"], path = "../rustls" }
|
||||
aws-lc-rs = { version = "1.7", features = ["unstable"], default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.10" # 0.11 requires 1.71 MSRV even as a dev-dep (due to manifest features)
|
||||
|
|
|
@ -16,23 +16,43 @@ build = "build.rs"
|
|||
rustversion = { version = "1.0.6", optional = true }
|
||||
|
||||
[dependencies]
|
||||
aws-lc-rs = { version = "1.6", optional = true, default-features = false, features = ["aws-lc-sys"] }
|
||||
hashbrown = { version = "0.14", optional = true, default-features = false, features = ["ahash", "inline-more"] }
|
||||
hashbrown = { version = "0.14", optional = true, default-features = false, features = [
|
||||
"ahash",
|
||||
"inline-more",
|
||||
] }
|
||||
log = { version = "0.4.4", optional = true }
|
||||
# remove once our MSRV is >= 1.70
|
||||
once_cell = { version = "1.16", default-features = false, features = ["alloc", "race"] }
|
||||
once_cell = { version = "1.16", default-features = false, features = [
|
||||
"alloc",
|
||||
"race",
|
||||
] }
|
||||
ring = { version = "0.17", optional = true }
|
||||
subtle = { version = "2.5.0", default-features = false }
|
||||
webpki = { package = "rustls-webpki", version = "0.102.2", features = ["alloc"], default-features = false }
|
||||
pki-types = { package = "rustls-pki-types", version = "1.2", features = ["alloc"] }
|
||||
webpki = { package = "rustls-webpki", version = "0.102.3", features = [
|
||||
"alloc",
|
||||
], default-features = false }
|
||||
pki-types = { package = "rustls-pki-types", version = "1.5", features = [
|
||||
"alloc",
|
||||
] }
|
||||
zeroize = "1.7"
|
||||
|
||||
[target.'cfg(target_env = "msvc")'.dependencies]
|
||||
aws-lc-rs = { version = "1.7", optional = true, default-features = false, features = [
|
||||
"aws-lc-sys",
|
||||
"bindgen",
|
||||
] }
|
||||
|
||||
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
||||
aws-lc-rs = { version = "1.7", optional = true, default-features = false, features = [
|
||||
"aws-lc-sys",
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["aws_lc_rs", "logging", "std", "tls12"]
|
||||
std = ["webpki/std", "pki-types/std", "once_cell/std"]
|
||||
logging = ["log"]
|
||||
aws_lc_rs = ["dep:aws-lc-rs", "webpki/aws_lc_rs"]
|
||||
aws-lc-rs = ["aws_lc_rs"] # Alias because Cargo features commonly use `-`
|
||||
aws-lc-rs = ["aws_lc_rs"] # Alias because Cargo features commonly use `-`
|
||||
ring = ["dep:ring", "webpki/ring"]
|
||||
tls12 = []
|
||||
read_buf = ["rustversion", "std"]
|
||||
|
@ -44,7 +64,10 @@ bencher = "0.1.5"
|
|||
env_logger = "0.10" # 0.11 requires 1.71 MSRV even as a dev-dep (due to manifest features)
|
||||
log = "0.4.4"
|
||||
num-bigint = "0.4.4"
|
||||
rcgen = { version = "0.13", default-features = false, features = ["aws_lc_rs", "pem"] }
|
||||
rcgen = { version = "0.13", default-features = false, features = [
|
||||
"aws_lc_rs",
|
||||
"pem",
|
||||
] }
|
||||
rustls-pemfile = "2"
|
||||
time = { version = "0.3.6", default-features = false }
|
||||
webpki-roots = "0.26"
|
||||
|
@ -77,7 +100,4 @@ features = ["read_buf", "ring"]
|
|||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[package.metadata.cargo_check_external_types]
|
||||
allowed_external_types = [
|
||||
"rustls_pki_types",
|
||||
"rustls_pki_types::*",
|
||||
]
|
||||
allowed_external_types = ["rustls_pki_types", "rustls_pki_types::*"]
|
||||
|
|
Loading…
Reference in New Issue