Codebase list rust-libslirp / 248d35a
chrono - new upstream release (can't be uploaded yet, because it requires rust-iana-time-zone). Peter Michael Green 1 year, 8 months ago
10 changed file(s) with 77 addition(s) and 224 deletion(s). Raw diff Collapse all Expand all
0 rust-chrono (0.4.21-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package chrono 0.4.21 from crates.io using debcargo 2.5.0
4 (Closes: #996913, #1017084)
5 * Drop relax-dep.diff, Debian now has the required version of time 0.1
6 (though we currently disable time 0.1 in a later patch anyway)
7 * Drop update-bincode-to-1.0.patch, upstream now depends on bincode 1.3
8 * Update remaining patches for new upstream.
9
10 -- Peter Michael Green <plugwash@debian.org> Sat, 13 Aug 2022 13:00:51 +0000
11
012 rust-chrono (0.4.19-3) unstable; urgency=medium
113
214 * Team upload.
77 Files: *
88 Copyright:
99 2014-2019 Kang Seonghoon <public+rust@mearie.org>
10 2017-2019 Brandon W Maister <quodlibetor@gmail.com>
10 2017-2021 Brandon W Maister <quodlibetor@gmail.com>
1111 2015 John Nagle
1212 2012-2014 The Rust Project Developers.
13 2014-2019 chrono contributors
13 2014-2022 chrono contributors
1414 License: MIT or Apache-2.0
1515
1616 Files: debian/*
1717 Copyright:
18 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
18 2018-2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1919 2018-2020 Wolfgang Silbermayr <wolfgang@silbermayr.at>
2020 2018-2020 kpcyrd <git@rxv.cc>
2121 License: MIT or Apache-2.0
00 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
11 Upstream-Name: chrono
2 Upstream-Contact:
3 Kang Seonghoon <public+rust@mearie.org>
4 Brandon W Maister <quodlibetor@gmail.com>
2 Upstream-Contact: FIXME (overlay) UNKNOWN-AUTHORS
53 Source: https://github.com/chronotope/chrono
64
75 Files: *
8 Copyright:
9 FIXME (overlay) UNKNOWN-YEARS Kang Seonghoon <public+rust@mearie.org>
10 FIXME (overlay) UNKNOWN-YEARS Brandon W Maister <quodlibetor@gmail.com>
6 Copyright: FIXME (overlay) UNKNOWN-AUTHORS FIXME (overlay) UNKNOWN-YEARS
117 License: MIT or Apache-2.0
128 Comment:
139 FIXME (overlay): Since upstream copyright years are not available in
2420 FIXME (overlay): These notices are extracted from files. Please review them
2521 before uploading to the archive.
2622
27 Files: ./src/div.rs
28 Copyright: 2013-2014 The Rust Project Developers.
23 Files: ./src/format/parse.rs
24 Copyright: 2015, John Nagle.
2925 License: UNKNOWN-LICENSE; FIXME (overlay)
3026 Comment:
3127 FIXME (overlay): These notices are extracted from files. Please review them
3228 before uploading to the archive.
3329
34 Files: ./src/format/parse.rs
35 Copyright: 2015, John Nagle.
30 Files: ./src/offset/local/stub.rs
31 Copyright: 2012-2014 The Rust Project Developers
32 License: UNKNOWN-LICENSE; FIXME (overlay)
33 Comment:
34 FIXME (overlay): These notices are extracted from files. Please review them
35 before uploading to the archive.
36
37 Files: ./src/offset/local/unix.rs
38 Copyright: 2012-2014 The Rust Project Developers
39 License: UNKNOWN-LICENSE; FIXME (overlay)
40 Comment:
41 FIXME (overlay): These notices are extracted from files. Please review them
42 before uploading to the archive.
43
44 Files: ./src/offset/local/windows.rs
45 Copyright: 2012-2014 The Rust Project Developers
3646 License: UNKNOWN-LICENSE; FIXME (overlay)
3747 Comment:
3848 FIXME (overlay): These notices are extracted from files. Please review them
4555 FIXME (overlay): These notices are extracted from files. Please review them
4656 before uploading to the archive.
4757
48 Files: ./src/sys.rs
49 Copyright: 2012-2014 The Rust Project Developers
50 License: UNKNOWN-LICENSE; FIXME (overlay)
51 Comment:
52 FIXME (overlay): These notices are extracted from files. Please review them
53 before uploading to the archive.
54
55 Files: ./src/sys/stub.rs
56 Copyright: 2012-2014 The Rust Project Developers
57 License: UNKNOWN-LICENSE; FIXME (overlay)
58 Comment:
59 FIXME (overlay): These notices are extracted from files. Please review them
60 before uploading to the archive.
61
62 Files: ./src/sys/unix.rs
63 Copyright: 2012-2014 The Rust Project Developers
64 License: UNKNOWN-LICENSE; FIXME (overlay)
65 Comment:
66 FIXME (overlay): These notices are extracted from files. Please review them
67 before uploading to the archive.
68
69 Files: ./src/sys/windows.rs
70 Copyright: 2012-2014 The Rust Project Developers
71 License: UNKNOWN-LICENSE; FIXME (overlay)
72 Comment:
73 FIXME (overlay): These notices are extracted from files. Please review them
74 before uploading to the archive.
75
7658 Files: debian/*
7759 Copyright:
78 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
79 2018-2021 Wolfgang Silbermayr <wolfgang@silbermayr.at>
80 2018-2021 kpcyrd <git@rxv.cc>
60 2018-2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
61 2018-2022 Wolfgang Silbermayr <wolfgang@silbermayr.at>
62 2018-2022 kpcyrd <git@rxv.cc>
8163 License: MIT or Apache-2.0
8264
8365 License: Apache-2.0
+0
-11
src/chrono/debian/patches/relax-dep.diff less more
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -67,7 +67,7 @@
3 default-features = false
4
5 [dependencies.time]
6 -version = "0.1.43"
7 +version = "0.1.42"
8 optional = true
9 [dev-dependencies.bincode]
10 version = "0.8.0"
00 --- a/Cargo.toml
11 +++ b/Cargo.toml
2 @@ -23,6 +23,7 @@
3 categories = ["date-and-time"]
4 license = "MIT/Apache-2.0"
2 @@ -25,2 +25,3 @@
53 repository = "https://github.com/chronotope/chrono"
64 +autobenches = false
7 [package.metadata.docs.rs]
8 features = ["serde"]
95
10 @@ -32,15 +33,6 @@
11 [lib]
12 name = "chrono"
6 @@ -34,14 +35,2 @@
137
148 -[[bench]]
159 -name = "chrono"
1913 -[[bench]]
2014 -name = "serde"
2115 -harness = false
22 -required-features = ["serde"]
23 [dependencies.libc]
24 version = "0.2.69"
25 optional = true
26 @@ -68,9 +60,6 @@
27 [dev-dependencies.bincode]
28 version = "1"
16 -required-features = [
17 - "__internal_bench",
18 - "serde",
19 -]
2920
30 -[dev-dependencies.criterion]
21 @@ -70,4 +62,0 @@
22 -[dependencies.criterion]
3123 -version = "0.3"
24 -optional = true
3225 -
33 [dev-dependencies.doc-comment]
34 version = "0.3"
35
36 @@ -87,7 +76,6 @@
37
38 [features]
26 @@ -89,3 +78,2 @@
3927 __doctest = []
40 -__internal_bench = []
28 -__internal_bench = ["criterion"]
4129 alloc = []
42 clock = ["libc", "std", "winapi"]
43 default = ["clock", "std", "oldtime"]
33 See: https://github.com/chronotope/chrono/commit/5115c6f5f93d112d48b618edfa1b47d004c39d10
44 Author: Peter Michael Green <plugwash@debian.org>
55
6 ---
7 The information above should follow the Patch Tagging Guidelines, please
8 checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
9 are templates for supplementary fields that you might want to add:
10
11 Origin: <vendor|upstream|other>, <url of original patch>
12 Bug: <url in upstream bugtracker>
13 Bug-Debian: https://bugs.debian.org/<bugnumber>
14 Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
15 Forwarded: <no|not-needed|url proving that it has been forwarded>
16 Reviewed-By: <name and email of someone who approved the patch>
17 Last-Update: 2021-12-18
18
19 --- rust-chrono-0.4.19.orig/Cargo.toml
20 +++ rust-chrono-0.4.19/Cargo.toml
21 @@ -54,9 +54,6 @@ version = "1.0.99"
6 Index: chrono/Cargo.toml
7 ===================================================================
8 --- chrono.orig/Cargo.toml
9 +++ chrono/Cargo.toml
10 @@ -64,9 +64,6 @@ version = "1.0.99"
2211 optional = true
2312 default-features = false
2413
2514 -[dependencies.time]
26 -version = "0.1.42"
15 -version = "0.1.43"
2716 -optional = true
17
2818 [dev-dependencies.bincode]
29 version = "1"
19 version = "1.3.0"
20 @@ -96,10 +93,8 @@ clock = [
21 default = [
22 "clock",
23 "std",
24 - "oldtime",
25 ]
26 libc = []
27 -oldtime = ["time"]
28 std = []
3029
31 @@ -78,8 +75,7 @@ version = "1"
32 __doctest = []
33 alloc = []
34 clock = ["libc", "std", "winapi"]
35 -default = ["clock", "std", "oldtime"]
36 -oldtime = ["time"]
37 +default = ["clock", "std"]
38 std = []
39 [target."cfg(windows)".dependencies.winapi]
40 version = "0.3.0"
30 [target."cfg(not(any(target_os = \"emscripten\", target_os = \"wasi\", target_os = \"solaris\")))".dependencies.iana-time-zone]
00 --- a/Cargo.toml
11 +++ b/Cargo.toml
2 @@ -53,10 +53,6 @@
3 version = "0.2"
4 default-features = false
5
2 @@ -56,4 +55,0 @@
63 -[dependencies.pure-rust-locales]
74 -version = "0.5.2"
85 -optional = true
96 -
10 [dependencies.rustc-serialize]
11 version = "0.3.20"
12 optional = true
13 @@ -97,7 +93,6 @@
14 default = ["clock", "std", "oldtime"]
15 oldtime = ["time"]
16 std = []
17 -unstable-locales = ["pure-rust-locales", "alloc"]
18 wasmbind = ["wasm-bindgen", "js-sys"]
19 [target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
20 version = "0.3"
7 @@ -100,4 +95,0 @@
8 -unstable-locales = [
9 - "pure-rust-locales",
10 - "alloc",
11 -]
0 relax-dep.diff
1 update-bincode-to-1.0.patch
20 remove-unstable-locales.patch
31 strip-wasm.patch
42 remove-benchmarks.patch
00 --- a/Cargo.toml
11 +++ b/Cargo.toml
2 @@ -93,16 +93,6 @@
3 default = ["clock", "std", "oldtime"]
4 oldtime = ["time"]
5 std = []
6 -wasmbind = ["wasm-bindgen", "js-sys"]
2 @@ -96,10 +95,0 @@
3 -wasmbind = []
4 -
75 -[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
86 -version = "0.3"
9 -optional = true
107 -
118 -[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen]
129 -version = "0.2"
13 -optional = true
10 -
1411 -[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test]
1512 -version = "0.3"
16 [target."cfg(windows)".dependencies.winapi]
17 version = "0.3.0"
18 features = ["std", "minwinbase", "minwindef", "timezoneapi"]
+0
-89
src/chrono/debian/patches/update-bincode-to-1.0.patch less more
0 --- a/src/datetime.rs
1 +++ b/src/datetime.rs
2 @@ -2157,10 +2157,10 @@
3 fn test_serde_bincode() {
4 // Bincode is relevant to test separately from JSON because
5 // it is not self-describing.
6 - use self::bincode::{deserialize, serialize, Infinite};
7 + use self::bincode::{deserialize, serialize};
8
9 let dt = Utc.ymd(2014, 7, 24).and_hms(12, 34, 6);
10 - let encoded = serialize(&dt, Infinite).unwrap();
11 + let encoded = serialize(&dt).unwrap();
12 let decoded: DateTime<Utc> = deserialize(&encoded).unwrap();
13 assert_eq!(dt, decoded);
14 assert_eq!(dt.offset(), decoded.offset());
15 --- a/src/naive/date.rs
16 +++ b/src/naive/date.rs
17 @@ -1876,10 +1876,10 @@
18 fn test_serde_bincode() {
19 // Bincode is relevant to test separately from JSON because
20 // it is not self-describing.
21 - use self::bincode::{deserialize, serialize, Infinite};
22 + use self::bincode::{deserialize, serialize};
23
24 let d = NaiveDate::from_ymd(2014, 7, 24);
25 - let encoded = serialize(&d, Infinite).unwrap();
26 + let encoded = serialize(&d).unwrap();
27 let decoded: NaiveDate = deserialize(&encoded).unwrap();
28 assert_eq!(d, decoded);
29 }
30 --- a/src/naive/datetime.rs
31 +++ b/src/naive/datetime.rs
32 @@ -2212,18 +2212,18 @@
33 // it is not self-describing.
34 #[test]
35 fn test_serde_bincode() {
36 - use self::bincode::{deserialize, serialize, Infinite};
37 + use self::bincode::{deserialize, serialize};
38 use naive::NaiveDate;
39
40 let dt = NaiveDate::from_ymd(2016, 7, 8).and_hms_milli(9, 10, 48, 90);
41 - let encoded = serialize(&dt, Infinite).unwrap();
42 + let encoded = serialize(&dt).unwrap();
43 let decoded: NaiveDateTime = deserialize(&encoded).unwrap();
44 assert_eq!(dt, decoded);
45 }
46
47 #[test]
48 fn test_serde_bincode_optional() {
49 - use self::bincode::{deserialize, serialize, Infinite};
50 + use self::bincode::{deserialize, serialize};
51 use self::serde_derive::{Deserialize, Serialize};
52 use prelude::*;
53 use serde::ts_nanoseconds_option;
54 @@ -2236,7 +2236,7 @@
55 }
56
57 let expected = Test { one: Some(1), two: Some(Utc.ymd(1970, 1, 1).and_hms(0, 1, 1)) };
58 - let bytes: Vec<u8> = serialize(&expected, Infinite).unwrap();
59 + let bytes: Vec<u8> = serialize(&expected).unwrap();
60 let actual = deserialize::<Test>(&(bytes)).unwrap();
61
62 assert_eq!(expected, actual);
63 --- a/src/naive/time.rs
64 +++ b/src/naive/time.rs
65 @@ -1513,10 +1513,10 @@
66 fn test_serde_bincode() {
67 // Bincode is relevant to test separately from JSON because
68 // it is not self-describing.
69 - use self::bincode::{deserialize, serialize, Infinite};
70 + use self::bincode::{deserialize, serialize};
71
72 let t = NaiveTime::from_hms_nano(3, 5, 7, 98765432);
73 - let encoded = serialize(&t, Infinite).unwrap();
74 + let encoded = serialize(&t).unwrap();
75 let decoded: NaiveTime = deserialize(&encoded).unwrap();
76 assert_eq!(t, decoded);
77 }
78 --- a/Cargo.toml
79 +++ b/Cargo.toml
80 @@ -70,7 +70,7 @@
81 version = "0.1.42"
82 optional = true
83 [dev-dependencies.bincode]
84 -version = "0.8.0"
85 +version = "1"
86
87 [dev-dependencies.criterion]
88 version = "0.3"