| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.85" |
| 15 |
name = "indicatif" |
| 16 |
version = "0.18.6" |
| 17 |
build = false |
| 18 |
exclude = ["screenshots/*"] |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "A progress bar and cli reporting library for Rust" |
| 25 |
documentation = "https://docs.rs/indicatif" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"cli", |
| 29 |
"progress", |
| 30 |
"pb", |
| 31 |
"colors", |
| 32 |
"progressbar", |
| 33 |
] |
| 34 |
categories = ["command-line-interface"] |
| 35 |
license = "MIT" |
| 36 |
repository = "https://github.com/console-rs/indicatif" |
| 37 |
|
| 38 |
[package.metadata.docs.rs] |
| 39 |
all-features = true |
| 40 |
rustdoc-args = [ |
| 41 |
"--cfg", |
| 42 |
"docsrs", |
| 43 |
] |
| 44 |
|
| 45 |
[features] |
| 46 |
default = [ |
| 47 |
"unicode-width", |
| 48 |
"wasmbind", |
| 49 |
] |
| 50 |
futures = ["dep:futures-core"] |
| 51 |
improved_unicode = [ |
| 52 |
"unicode-segmentation", |
| 53 |
"unicode-width", |
| 54 |
] |
| 55 |
in_memory = ["vt100"] |
| 56 |
unicode-width = [ |
| 57 |
"dep:unicode-width", |
| 58 |
"console/unicode-width", |
| 59 |
] |
| 60 |
wasmbind = ["dep:web-time"] |
| 61 |
|
| 62 |
[lib] |
| 63 |
name = "indicatif" |
| 64 |
path = "src/lib.rs" |
| 65 |
|
| 66 |
[[example]] |
| 67 |
name = "cargo" |
| 68 |
path = "examples/cargo.rs" |
| 69 |
|
| 70 |
[[example]] |
| 71 |
name = "cargowrap" |
| 72 |
path = "examples/cargowrap.rs" |
| 73 |
|
| 74 |
[[example]] |
| 75 |
name = "download" |
| 76 |
path = "examples/download.rs" |
| 77 |
|
| 78 |
[[example]] |
| 79 |
name = "download-continued" |
| 80 |
path = "examples/download-continued.rs" |
| 81 |
|
| 82 |
[[example]] |
| 83 |
name = "download-speed" |
| 84 |
path = "examples/download-speed.rs" |
| 85 |
|
| 86 |
[[example]] |
| 87 |
name = "fastbar" |
| 88 |
path = "examples/fastbar.rs" |
| 89 |
|
| 90 |
[[example]] |
| 91 |
name = "finebars" |
| 92 |
path = "examples/finebars.rs" |
| 93 |
|
| 94 |
[[example]] |
| 95 |
name = "iterator" |
| 96 |
path = "examples/iterator.rs" |
| 97 |
|
| 98 |
[[example]] |
| 99 |
name = "log" |
| 100 |
path = "examples/log.rs" |
| 101 |
|
| 102 |
[[example]] |
| 103 |
name = "long-spinner" |
| 104 |
path = "examples/long-spinner.rs" |
| 105 |
|
| 106 |
[[example]] |
| 107 |
name = "morebars" |
| 108 |
path = "examples/morebars.rs" |
| 109 |
|
| 110 |
[[example]] |
| 111 |
name = "multi" |
| 112 |
path = "examples/multi.rs" |
| 113 |
|
| 114 |
[[example]] |
| 115 |
name = "multi-tree" |
| 116 |
path = "examples/multi-tree.rs" |
| 117 |
|
| 118 |
[[example]] |
| 119 |
name = "multi-tree-ext" |
| 120 |
path = "examples/multi-tree-ext.rs" |
| 121 |
|
| 122 |
[[example]] |
| 123 |
name = "single" |
| 124 |
path = "examples/single.rs" |
| 125 |
|
| 126 |
[[example]] |
| 127 |
name = "tokio" |
| 128 |
path = "examples/tokio.rs" |
| 129 |
|
| 130 |
[[example]] |
| 131 |
name = "yarnish" |
| 132 |
path = "examples/yarnish.rs" |
| 133 |
|
| 134 |
[[test]] |
| 135 |
name = "multi-autodrop" |
| 136 |
path = "tests/multi-autodrop.rs" |
| 137 |
|
| 138 |
[[test]] |
| 139 |
name = "render" |
| 140 |
path = "tests/render.rs" |
| 141 |
|
| 142 |
[dependencies.console] |
| 143 |
version = "0.16.4" |
| 144 |
features = [ |
| 145 |
"ansi-parsing", |
| 146 |
"std", |
| 147 |
] |
| 148 |
default-features = false |
| 149 |
|
| 150 |
[dependencies.futures-core] |
| 151 |
version = "0.3" |
| 152 |
optional = true |
| 153 |
default-features = false |
| 154 |
|
| 155 |
[dependencies.portable-atomic] |
| 156 |
version = "1.12.0" |
| 157 |
|
| 158 |
[dependencies.rayon] |
| 159 |
version = "1.1" |
| 160 |
optional = true |
| 161 |
|
| 162 |
[dependencies.tokio] |
| 163 |
version = "1" |
| 164 |
features = ["io-util"] |
| 165 |
optional = true |
| 166 |
|
| 167 |
[dependencies.unicode-segmentation] |
| 168 |
version = "1" |
| 169 |
optional = true |
| 170 |
|
| 171 |
[dependencies.unicode-width] |
| 172 |
version = "0.2" |
| 173 |
optional = true |
| 174 |
|
| 175 |
[dependencies.unit-prefix] |
| 176 |
version = "0.5.1" |
| 177 |
|
| 178 |
[dependencies.vt100] |
| 179 |
version = "0.16.1" |
| 180 |
optional = true |
| 181 |
|
| 182 |
[dev-dependencies.clap] |
| 183 |
version = "4" |
| 184 |
features = [ |
| 185 |
"color", |
| 186 |
"derive", |
| 187 |
] |
| 188 |
|
| 189 |
[dev-dependencies.futures] |
| 190 |
version = "0.3" |
| 191 |
|
| 192 |
[dev-dependencies.once_cell] |
| 193 |
version = "1" |
| 194 |
|
| 195 |
[dev-dependencies.pretty_assertions] |
| 196 |
version = "1.4.0" |
| 197 |
|
| 198 |
[dev-dependencies.rand] |
| 199 |
version = "0.10" |
| 200 |
|
| 201 |
[dev-dependencies.tokio] |
| 202 |
version = "1" |
| 203 |
features = [ |
| 204 |
"fs", |
| 205 |
"time", |
| 206 |
"rt", |
| 207 |
] |
| 208 |
|
| 209 |
[target.'cfg(target_arch = "wasm32")'.dependencies.web-time] |
| 210 |
version = "1.1.0" |
| 211 |
optional = true |