feat: add WASM support via web-time (#1037)
Support WASM environments by using web-time. This was tested on a Cloudflare worker environment.
This commit is contained in:
11
Cargo.lock
generated
11
Cargo.lock
generated
@@ -1233,6 +1233,7 @@ dependencies = [
|
||||
"url",
|
||||
"uuid",
|
||||
"walkdir",
|
||||
"web-time",
|
||||
"webpki-roots",
|
||||
]
|
||||
|
||||
@@ -2442,6 +2443,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.7"
|
||||
|
||||
Reference in New Issue
Block a user