Codebase list rust-libslirp / e206d48
indicatif: new upstream release for hyperfine Sylvestre Ledru 2 years ago
5 changed file(s) with 21 addition(s) and 80 deletion(s). Raw diff Collapse all Expand all
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
06 rust-indicatif (0.15.0-3) unstable; urgency=medium
17
28 * Package indicatif 0.15.0 from crates.io using debcargo 2.4.3
00 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
11 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>
35 Source: https://github.com/mitsuhiko/indicatif
46
57 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>
711 License: MIT
812 Comment:
913 FIXME (overlay): Since upstream copyright years are not available in
2024
2125 Files: debian/*
2226 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>
2529 License: MIT
2630
2731 License: MIT
11 ===================================================================
22 --- indicatif.orig/Cargo.toml
33 +++ 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"
134 @@ -40,13 +40,13 @@ version = "1.3.1"
145 features = ["std"]
156 default-features = false
178 -[dependencies.unicode-segmentation]
189 -version = "1.6.0"
1910 -optional = true
20 -
11 +#[dependencies.unicode-segmentation]
12 +#version = "1.6.0"
13 +#optional = true
14
2115 -[dependencies.unicode-width]
2216 -version = "0.1.7"
2317 -optional = true
24 +#[dependencies.unicode-segmentation]
25 +#version = "1.6.0"
26 +#optional = true
27 +
2818 +#[dependencies.unicode-width]
2919 +#version = "0.1.7"
3020 +#optional = true
3121 [dev-dependencies.rand]
32 version = "0.7.0"
22 version = "0.8"
3323
34 @@ -56,5 +56,5 @@ features = ["time"]
24 @@ -56,5 +56,5 @@ features = ["time", "rt"]
3525
3626 [features]
3727 default = []
77 src/format.rs | 14 +++++++-------
88 2 files changed, 8 insertions(+), 8 deletions(-)
99
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 }
00 bump-console.diff
1 number-prefix.patch
1 #number-prefix.patch