chrono - new upstream release.
Peter Michael Green
1 year, 5 months ago
0 | rust-chrono (0.4.23-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Team upload. | |
3 | * Package chrono 0.4.23 from crates.io using debcargo 2.6.0 (Closes: #1024454) | |
4 | * Update patches for new upstream. | |
5 | * Fix tests with --no-default-features. | |
6 | ||
7 | -- Peter Michael Green <plugwash@debian.org> Sun, 20 Nov 2022 08:37:24 +0000 | |
8 | ||
0 | 9 | rust-chrono (0.4.22-1) unstable; urgency=medium |
1 | 10 | |
2 | 11 | [ Blair Noctis ] |
11 | 11 | be correct information so you should review and fix this before uploading to |
12 | 12 | the archive. |
13 | 13 | |
14 | Files: ./LICENSE.txt | |
14 | Files: LICENSE.txt | |
15 | 15 | Copyright: |
16 | 16 | 2014--2017, Kang Seonghoon and |
17 | 17 | 2014, Kang Seonghoon. |
20 | 20 | FIXME (overlay): These notices are extracted from files. Please review them |
21 | 21 | before uploading to the archive. |
22 | 22 | |
23 | Files: ./src/format/parse.rs | |
23 | Files: src/format/parse.rs | |
24 | 24 | Copyright: 2015, John Nagle. |
25 | 25 | License: UNKNOWN-LICENSE; FIXME (overlay) |
26 | 26 | Comment: |
27 | 27 | FIXME (overlay): These notices are extracted from files. Please review them |
28 | 28 | before uploading to the archive. |
29 | 29 | |
30 | Files: ./src/offset/local/stub.rs | |
30 | Files: src/offset/local/stub.rs | |
31 | 31 | Copyright: 2012-2014 The Rust Project Developers |
32 | 32 | License: UNKNOWN-LICENSE; FIXME (overlay) |
33 | 33 | Comment: |
34 | 34 | FIXME (overlay): These notices are extracted from files. Please review them |
35 | 35 | before uploading to the archive. |
36 | 36 | |
37 | Files: ./src/offset/local/unix.rs | |
37 | Files: src/offset/local/unix.rs | |
38 | 38 | Copyright: 2012-2014 The Rust Project Developers |
39 | 39 | License: UNKNOWN-LICENSE; FIXME (overlay) |
40 | 40 | Comment: |
41 | 41 | FIXME (overlay): These notices are extracted from files. Please review them |
42 | 42 | before uploading to the archive. |
43 | 43 | |
44 | Files: ./src/offset/local/windows.rs | |
44 | Files: src/offset/local/windows.rs | |
45 | 45 | Copyright: 2012-2014 The Rust Project Developers |
46 | 46 | License: UNKNOWN-LICENSE; FIXME (overlay) |
47 | 47 | Comment: |
48 | 48 | FIXME (overlay): These notices are extracted from files. Please review them |
49 | 49 | before uploading to the archive. |
50 | 50 | |
51 | Files: ./src/oldtime.rs | |
51 | Files: src/oldtime.rs | |
52 | 52 | Copyright: 2012-2014 The Rust Project Developers |
53 | 53 | License: UNKNOWN-LICENSE; FIXME (overlay) |
54 | 54 | Comment: |
7 | 7 | "iana-time-zone", |
8 | 8 | ] |
9 | 9 | default = [ |
10 | @@ -115,17 +114,6 @@ | |
10 | @@ -115,13 +114,3 @@ | |
11 | 11 | version = "0.2" |
12 | 12 | optional = true |
13 | 13 | |
21 | 21 | - "timezoneapi", |
22 | 22 | -] |
23 | 23 | -optional = true |
24 | - | |
25 | [badges.appveyor] | |
26 | repository = "chronotope/chrono" | |
27 |
0 | --- rust-chrono-0.4.23.orig/tests/dateutils.rs | |
1 | +++ rust-chrono-0.4.23/tests/dateutils.rs | |
2 | @@ -1,10 +1,11 @@ | |
3 | use chrono::offset::TimeZone; | |
4 | +#[cfg(feature="clock")] | |
5 | use chrono::Local; | |
6 | use chrono::{Datelike, NaiveDate, NaiveDateTime, Timelike}; | |
7 | ||
8 | use std::{path, process}; | |
9 | ||
10 | -#[cfg(unix)] | |
11 | +#[cfg(all(unix,feature="clock"))] | |
12 | fn verify_against_date_command_local(path: &'static str, dt: NaiveDateTime) { | |
13 | let output = process::Command::new(path) | |
14 | .arg("-d") | |
15 | @@ -49,7 +50,7 @@ fn verify_against_date_command_local(pat | |
16 | } | |
17 | ||
18 | #[test] | |
19 | -#[cfg(unix)] | |
20 | +#[cfg(all(unix,feature="clock"))] | |
21 | fn try_verify_against_date_command() { | |
22 | let date_path = "/usr/bin/date"; | |
23 |
7 | 7 | |
8 | 8 | [package.metadata.docs.rs] |
9 | 9 | features = ["serde"] |
10 | @@ -41,22 +42,6 @@ | |
11 | [lib] | |
12 | name = "chrono" | |
13 | ||
10 | @@ -44,4 +44,0 @@ | |
14 | 11 | -[[bench]] |
15 | 12 | -name = "chrono" |
16 | 13 | -harness = false |
17 | 14 | -required-features = ["__internal_bench"] |
18 | - | |
15 | @@ -49,7 +46,0 @@ | |
19 | 16 | -[[bench]] |
20 | 17 | -name = "serde" |
21 | 18 | -harness = false |
23 | 20 | - "__internal_bench", |
24 | 21 | - "serde", |
25 | 22 | -] |
26 | - | |
23 | @@ -60,3 +60,0 @@ | |
27 | 24 | -[dependencies.criterion] |
28 | -version = "0.3" | |
25 | -version = "0.4.0" | |
29 | 26 | -optional = true |
30 | ||
31 | [dependencies.iana-time-zone] | |
32 | version = "0.1.44" | |
33 | @@ -107,7 +92,6 @@ | |
34 | ||
35 | [features] | |
36 | __doctest = [] | |
27 | @@ -110 +94,0 @@ | |
37 | 28 | -__internal_bench = ["criterion"] |
38 | alloc = [] | |
39 | clock = [ | |
40 | "std", |