You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-chrono/chrono-fix-metadata-auto.diff

48 lines
1.2 KiB

--- chrono-0.4.26/Cargo.toml 1970-01-01T00:00:01+00:00
+++ chrono-0.4.26/Cargo.toml 2023-05-31T11:36:00.457992+00:00
@@ -107,7 +107,6 @@
alloc = []
clock = [
"std",
- "winapi",
"iana-time-zone",
]
default = [
@@ -124,36 +123,10 @@
"alloc",
]
wasmbind = [
- "wasm-bindgen",
- "js-sys",
]
-
-[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
-version = "0.3"
-optional = true
-
-[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen]
-version = "0.2"
-optional = true
-
-[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test]
-version = "0.3"
-
-[target."cfg(target_os = \"android\")".dependencies.android-tzdata]
-version = "0.1.1"
[target."cfg(unix)".dependencies.iana-time-zone]
version = "0.1.45"
features = ["fallback"]
optional = true
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.0"
-features = [
- "std",
- "minwinbase",
- "minwindef",
- "timezoneapi",
- "sysinfoapi",
-]
-optional = true