feat: patch chrono

This commit is contained in:
2023-01-20 23:25:18 +08:00
parent cf8e579f27
commit c997aab841
71 changed files with 27208 additions and 178 deletions

View File

@@ -24,10 +24,10 @@ libc = { version = "0.2.139", default-features = false }
wasi = { version = "0.11", default-features = false }
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies]
wasm-bindgen = { version = "0.2.62", default-features = false, optional = true }
js-sys = { version = "0.3", optional = true }
#wasm-bindgen = { version = "0.2.62", default-features = false, optional = true }
#js-sys = { version = "0.3", optional = true }
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies]
wasm-bindgen-test = "0.3.18"
#wasm-bindgen-test = "0.3.18"
[features]
# Implement std-only traits for getrandom::Error
@@ -35,7 +35,8 @@ std = []
# Feature to enable fallback RDRAND-based implementation on x86/x86_64
rdrand = []
# Feature to enable JavaScript bindings on wasm*-unknown-unknown
js = ["wasm-bindgen", "js-sys"]
#js = ["wasm-bindgen", "js-sys"]
js = []
# Feature to enable custom RNG implementations
custom = []
# Unstable feature to support being a libstd dependency