use upstream pki-types

This commit is contained in:
Toshit Chawda 2024-03-30 03:07:15 -07:00
parent 4301bb8b65
commit 9590b1eb49
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
3 changed files with 18 additions and 6 deletions

18
Cargo.lock generated
View file

@ -541,6 +541,7 @@ dependencies = [
"js-sys",
"pin-project-lite",
"ring",
"rustls-pki-types",
"send_wrapper",
"tokio",
"tokio-rustls",
@ -1569,10 +1570,11 @@ dependencies = [
[[package]]
name = "rustls-pki-types"
version = "1.3.1"
source = "git+https://github.com/r58Playz/rustls-pki-types#944afed109e6874e1482392c7ab5333d7112ef47"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ecd36cc4259e3e4514335c4a138c6b43171a8d61d8f5c9348f9fc7529416f247"
dependencies = [
"wasm-bindgen",
"web-time",
]
[[package]]
@ -2288,6 +2290,16 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "web-time"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
dependencies = [
"js-sys",
"wasm-bindgen",
]
[[package]]
name = "webpki-roots"
version = "0.26.1"

View file

@ -3,9 +3,6 @@ resolver = "2"
members = ["server", "client", "wisp", "simple-wisp-client"]
default-members = ["server"]
[patch.crates-io]
rustls-pki-types = { git = "https://github.com/r58Playz/rustls-pki-types" }
[profile.release]
lto = true
debug = true

View file

@ -39,6 +39,9 @@ wasmtimer = "0.2.0"
[dependencies.ring]
features = ["wasm32_unknown_unknown_js"]
[dependencies.rustls-pki-types]
features = ["web"]
[dev-dependencies]
default-env = "0.1.1"
wasm-bindgen-test = "0.3.42"