indicatif: new upstream release for hyperfine
Sylvestre Ledru
2 years ago
0 | rust-indicatif (0.16.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Package indicatif 0.16.0 from crates.io using debcargo 2.4.4-alpha.0 | |
3 | ||
4 | -- Sylvestre Ledru <sylvestre@debian.org> Wed, 20 Oct 2021 22:14:05 +0200 | |
5 | ||
0 | 6 | rust-indicatif (0.15.0-3) unstable; urgency=medium |
1 | 7 | |
2 | 8 | * Package indicatif 0.15.0 from crates.io using debcargo 2.4.3 |
0 | 0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
1 | 1 | Upstream-Name: indicatif |
2 | Upstream-Contact: Armin Ronacher <armin.ronacher@active-4.com> | |
2 | Upstream-Contact: | |
3 | Armin Ronacher <armin.ronacher@active-4.com> | |
4 | Dirkjan Ochtman <dirkjan@ochtman.nl> | |
3 | 5 | Source: https://github.com/mitsuhiko/indicatif |
4 | 6 | |
5 | 7 | Files: * |
6 | Copyright: FIXME (overlay) UNKNOWN-YEARS Armin Ronacher <armin.ronacher@active-4.com> | |
8 | Copyright: | |
9 | FIXME (overlay) UNKNOWN-YEARS Armin Ronacher <armin.ronacher@active-4.com> | |
10 | FIXME (overlay) UNKNOWN-YEARS Dirkjan Ochtman <dirkjan@ochtman.nl> | |
7 | 11 | License: MIT |
8 | 12 | Comment: |
9 | 13 | FIXME (overlay): Since upstream copyright years are not available in |
20 | 24 | |
21 | 25 | Files: debian/* |
22 | 26 | Copyright: |
23 | 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
24 | 2020 Sylvestre Ledru <sylvestre@debian.org> | |
27 | 2020-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
28 | 2020-2021 Sylvestre Ledru <sylvestre@debian.org> | |
25 | 29 | License: MIT |
26 | 30 | |
27 | 31 | License: MIT |
1 | 1 | =================================================================== |
2 | 2 | --- indicatif.orig/Cargo.toml |
3 | 3 | +++ indicatif/Cargo.toml |
4 | @@ -23,7 +23,7 @@ keywords = ["cli", "progress", "pb", "co | |
5 | license = "MIT" | |
6 | repository = "https://github.com/mitsuhiko/indicatif" | |
7 | [dependencies.console] | |
8 | -version = ">=0.9.1, <1.0.0" | |
9 | +version = ">=0.8.0, <1.0.0" | |
10 | ||
11 | [dependencies.lazy_static] | |
12 | version = "1.0" | |
13 | 4 | @@ -40,13 +40,13 @@ version = "1.3.1" |
14 | 5 | features = ["std"] |
15 | 6 | default-features = false |
17 | 8 | -[dependencies.unicode-segmentation] |
18 | 9 | -version = "1.6.0" |
19 | 10 | -optional = true |
20 | - | |
11 | +#[dependencies.unicode-segmentation] | |
12 | +#version = "1.6.0" | |
13 | +#optional = true | |
14 | ||
21 | 15 | -[dependencies.unicode-width] |
22 | 16 | -version = "0.1.7" |
23 | 17 | -optional = true |
24 | +#[dependencies.unicode-segmentation] | |
25 | +#version = "1.6.0" | |
26 | +#optional = true | |
27 | + | |
28 | 18 | +#[dependencies.unicode-width] |
29 | 19 | +#version = "0.1.7" |
30 | 20 | +#optional = true |
31 | 21 | [dev-dependencies.rand] |
32 | version = "0.7.0" | |
22 | version = "0.8" | |
33 | 23 | |
34 | @@ -56,5 +56,5 @@ features = ["time"] | |
24 | @@ -56,5 +56,5 @@ features = ["time", "rt"] | |
35 | 25 | |
36 | 26 | [features] |
37 | 27 | default = [] |
7 | 7 | src/format.rs | 14 +++++++------- |
8 | 8 | 2 files changed, 8 insertions(+), 8 deletions(-) |
9 | 9 | |
10 | Index: indicatif/Cargo.toml | |
11 | =================================================================== | |
12 | --- indicatif.orig/Cargo.toml | |
13 | +++ indicatif/Cargo.toml | |
14 | @@ -29,7 +29,7 @@ version = ">=0.8.0, <1.0.0" | |
15 | version = "1.0" | |
16 | ||
17 | [dependencies.number_prefix] | |
18 | -version = "0.3" | |
19 | +version = "0.4" | |
20 | ||
21 | [dependencies.rayon] | |
22 | version = "1.0" | |
23 | Index: indicatif/src/format.rs | |
24 | =================================================================== | |
25 | --- indicatif.orig/src/format.rs | |
26 | +++ indicatif/src/format.rs | |
27 | @@ -1,7 +1,7 @@ | |
28 | use std::fmt; | |
29 | use std::time::Duration; | |
30 | ||
31 | -use number_prefix::{NumberPrefix, PrefixNames, Prefixed, Standalone}; | |
32 | +use number_prefix::NumberPrefix; | |
33 | ||
34 | /// Wraps an std duration for human basic formatting. | |
35 | #[derive(Debug)] | |
36 | @@ -77,8 +77,8 @@ impl fmt::Display for HumanDuration { | |
37 | impl fmt::Display for HumanBytes { | |
38 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | |
39 | match NumberPrefix::binary(self.0 as f64) { | |
40 | - Standalone(number) => write!(f, "{:.0}B", number), | |
41 | - Prefixed(prefix, number) => write!( | |
42 | + NumberPrefix::Standalone(number) => write!(f, "{:.0}B", number), | |
43 | + NumberPrefix::Prefixed(prefix, number) => write!( | |
44 | f, | |
45 | "{:.2}{}B", | |
46 | number, | |
47 | @@ -91,8 +91,8 @@ impl fmt::Display for HumanBytes { | |
48 | impl fmt::Display for DecimalBytes { | |
49 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | |
50 | match NumberPrefix::decimal(self.0 as f64) { | |
51 | - Standalone(number) => write!(f, "{:.0}B", number), | |
52 | - Prefixed(prefix, number) => write!(f, "{:.2}{}B", number, prefix), | |
53 | + NumberPrefix::Standalone(number) => write!(f, "{:.0}B", number), | |
54 | + NumberPrefix::Prefixed(prefix, number) => write!(f, "{:.2}{}B", number, prefix), | |
55 | } | |
56 | } | |
57 | } | |
58 | @@ -100,8 +100,8 @@ impl fmt::Display for DecimalBytes { | |
59 | impl fmt::Display for BinaryBytes { | |
60 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | |
61 | match NumberPrefix::binary(self.0 as f64) { | |
62 | - Standalone(number) => write!(f, "{:.0}B", number), | |
63 | - Prefixed(prefix, number) => write!(f, "{:.2}{}B", number, prefix), | |
64 | + NumberPrefix::Standalone(number) => write!(f, "{:.0}B", number), | |
65 | + NumberPrefix::Prefixed(prefix, number) => write!(f, "{:.2}{}B", number, prefix), | |
66 | } | |
67 | } | |
68 | } |