-rust-chrono (0.4.21-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+rust-chrono (0.4.22-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+ * Team upload.
+ * Package chrono 0.4.22 from crates.io using debcargo 2.5.0
+ * Drop strip-wasm.patch, js-sys and wasm-bindgen are packaged, but keep
+ wasm-bindgen-test off
+ * Patch out Windows dep
+
+ [ Peter Michael Green ]
* Team upload.
* Package chrono 0.4.21 from crates.io using debcargo 2.5.0
(Closes: #996913, #1017084)
* Drop update-bincode-to-1.0.patch, upstream now depends on bincode 1.3
* Update remaining patches for new upstream.
- -- Peter Michael Green <plugwash@debian.org> Sat, 13 Aug 2022 13:00:51 +0000
+ -- Blair Noctis <n@sail.ng> Tue, 01 Nov 2022 03:27:37 +0000
rust-chrono (0.4.19-3) unstable; urgency=medium
--- /dev/null
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -92,7 +92,6 @@
+ alloc = []
+ clock = [
+ "std",
+- "winapi",
+ "iana-time-zone",
+ ]
+ default = [
+@@ -115,17 +114,6 @@
+ version = "0.2"
+ optional = true
+
+-
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.0"
+-features = [
+- "std",
+- "minwinbase",
+- "minwindef",
+- "timezoneapi",
+-]
+-optional = true
+-
+ [badges.appveyor]
+ repository = "chronotope/chrono"
+
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -25,2 +25,3 @@
+@@ -31,6 +31,7 @@
+ categories = ["date-and-time"]
+ license = "MIT/Apache-2.0"
repository = "https://github.com/chronotope/chrono"
+autobenches = false
-@@ -34,14 +35,2 @@
+ [package.metadata.docs.rs]
+ features = ["serde"]
+@@ -41,22 +42,6 @@
+ [lib]
+ name = "chrono"
-[[bench]]
-name = "chrono"
- "__internal_bench",
- "serde",
-]
-
-@@ -70,4 +62,0 @@
+-
-[dependencies.criterion]
-version = "0.3"
-optional = true
--
-@@ -89,3 +78,2 @@
+
+ [dependencies.iana-time-zone]
+ version = "0.1.44"
+@@ -107,7 +92,6 @@
+
+ [features]
__doctest = []
-__internal_bench = ["criterion"]
alloc = []
+ clock = [
+ "std",
See: https://github.com/chronotope/chrono/commit/5115c6f5f93d112d48b618edfa1b47d004c39d10
Author: Peter Michael Green <plugwash@debian.org>
-Index: chrono/Cargo.toml
-===================================================================
---- chrono.orig/Cargo.toml
-+++ chrono/Cargo.toml
-@@ -64,9 +64,6 @@ version = "1.0.99"
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -69,9 +69,6 @@
optional = true
default-features = false
[dev-dependencies.bincode]
version = "1.3.0"
-@@ -96,10 +93,8 @@ clock = [
+@@ -101,11 +98,9 @@
default = [
"clock",
"std",
- "oldtime",
+ "wasmbind",
]
libc = []
-oldtime = ["time"]
std = []
-
- [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"solaris\")))".dependencies.iana-time-zone]
+ wasmbind = [
+ "wasm-bindgen",
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -56,4 +55,0 @@
+@@ -71,10 +71,6 @@
+ version = "0.2"
+ default-features = false
+
-[dependencies.pure-rust-locales]
-version = "0.5.2"
-optional = true
-
-@@ -100,4 +95,0 @@
+ [dependencies.rkyv]
+ version = "0.7"
+ optional = true
+@@ -127,10 +123,6 @@
+ libc = []
+ oldtime = ["time"]
+ std = []
-unstable-locales = [
- "pure-rust-locales",
- "alloc",
-]
+ wasmbind = [
+ "wasm-bindgen",
+ "js-sys",
--- /dev/null
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -136,8 +136,6 @@
+ 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(windows)".dependencies.winapi]
+ version = "0.3.0"
remove-unstable-locales.patch
-strip-wasm.patch
+remove-wasm-bindgen-test.patch
remove-benchmarks.patch
remove-time.patch
+drop-windows-dep.patch
+++ /dev/null
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -96,10 +95,0 @@
--wasmbind = []
--
--[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
--version = "0.3"
--
--[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen]
--version = "0.2"
--
--[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test]
--version = "0.3"