220 lines
3.7 KiB
TOML
220 lines
3.7 KiB
TOML
|
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||
|
|
#
|
||
|
|
# When uploading crates to the registry Cargo will automatically
|
||
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
||
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
||
|
|
# to registry (e.g., crates.io) dependencies.
|
||
|
|
#
|
||
|
|
# If you are reading this file be aware that the original Cargo.toml
|
||
|
|
# will likely look very different (and much more reasonable).
|
||
|
|
# See Cargo.toml.orig for the original contents.
|
||
|
|
|
||
|
|
[package]
|
||
|
|
edition = "2021"
|
||
|
|
rust-version = "1.70"
|
||
|
|
name = "indicatif"
|
||
|
|
version = "0.17.11"
|
||
|
|
build = false
|
||
|
|
exclude = ["screenshots/*"]
|
||
|
|
autolib = false
|
||
|
|
autobins = false
|
||
|
|
autoexamples = false
|
||
|
|
autotests = false
|
||
|
|
autobenches = false
|
||
|
|
description = "A progress bar and cli reporting library for Rust"
|
||
|
|
documentation = "https://docs.rs/indicatif"
|
||
|
|
readme = "README.md"
|
||
|
|
keywords = [
|
||
|
|
"cli",
|
||
|
|
"progress",
|
||
|
|
"pb",
|
||
|
|
"colors",
|
||
|
|
"progressbar",
|
||
|
|
]
|
||
|
|
categories = ["command-line-interface"]
|
||
|
|
license = "MIT"
|
||
|
|
repository = "https://github.com/console-rs/indicatif"
|
||
|
|
|
||
|
|
[package.metadata.docs.rs]
|
||
|
|
all-features = true
|
||
|
|
rustdoc-args = [
|
||
|
|
"--cfg",
|
||
|
|
"docsrs",
|
||
|
|
]
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "indicatif"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "cargo"
|
||
|
|
path = "examples/cargo.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "cargowrap"
|
||
|
|
path = "examples/cargowrap.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "download"
|
||
|
|
path = "examples/download.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "download-continued"
|
||
|
|
path = "examples/download-continued.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "download-speed"
|
||
|
|
path = "examples/download-speed.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "fastbar"
|
||
|
|
path = "examples/fastbar.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "finebars"
|
||
|
|
path = "examples/finebars.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "iterator"
|
||
|
|
path = "examples/iterator.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "log"
|
||
|
|
path = "examples/log.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "long-spinner"
|
||
|
|
path = "examples/long-spinner.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "message"
|
||
|
|
path = "examples/message.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "morebars"
|
||
|
|
path = "examples/morebars.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "multi"
|
||
|
|
path = "examples/multi.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "multi-tree"
|
||
|
|
path = "examples/multi-tree.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "multi-tree-ext"
|
||
|
|
path = "examples/multi-tree-ext.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "single"
|
||
|
|
path = "examples/single.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "slow"
|
||
|
|
path = "examples/slow.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "spinner-loop"
|
||
|
|
path = "examples/spinner-loop.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "steady"
|
||
|
|
path = "examples/steady.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "tokio"
|
||
|
|
path = "examples/tokio.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "yarnish"
|
||
|
|
path = "examples/yarnish.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "multi-autodrop"
|
||
|
|
path = "tests/multi-autodrop.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "render"
|
||
|
|
path = "tests/render.rs"
|
||
|
|
|
||
|
|
[dependencies.console]
|
||
|
|
version = "0.15"
|
||
|
|
features = ["ansi-parsing"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.futures-core]
|
||
|
|
version = "0.3"
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.number_prefix]
|
||
|
|
version = "0.4"
|
||
|
|
|
||
|
|
[dependencies.portable-atomic]
|
||
|
|
version = "1.0.0"
|
||
|
|
|
||
|
|
[dependencies.rayon]
|
||
|
|
version = "1.1"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.tokio]
|
||
|
|
version = "1"
|
||
|
|
features = ["io-util"]
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.unicode-segmentation]
|
||
|
|
version = "1"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.unicode-width]
|
||
|
|
version = "0.2"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.vt100]
|
||
|
|
version = "0.15.1"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dev-dependencies.clap]
|
||
|
|
version = "4"
|
||
|
|
features = [
|
||
|
|
"color",
|
||
|
|
"derive",
|
||
|
|
]
|
||
|
|
|
||
|
|
[dev-dependencies.futures]
|
||
|
|
version = "0.3"
|
||
|
|
|
||
|
|
[dev-dependencies.once_cell]
|
||
|
|
version = "1"
|
||
|
|
|
||
|
|
[dev-dependencies.pretty_assertions]
|
||
|
|
version = "1.4.0"
|
||
|
|
|
||
|
|
[dev-dependencies.rand]
|
||
|
|
version = "0.9"
|
||
|
|
|
||
|
|
[dev-dependencies.tokio]
|
||
|
|
version = "1"
|
||
|
|
features = [
|
||
|
|
"fs",
|
||
|
|
"time",
|
||
|
|
"rt",
|
||
|
|
]
|
||
|
|
|
||
|
|
[features]
|
||
|
|
default = [
|
||
|
|
"unicode-width",
|
||
|
|
"console/unicode-width",
|
||
|
|
]
|
||
|
|
futures = ["dep:futures-core"]
|
||
|
|
improved_unicode = [
|
||
|
|
"unicode-segmentation",
|
||
|
|
"unicode-width",
|
||
|
|
"console/unicode-width",
|
||
|
|
]
|
||
|
|
in_memory = ["vt100"]
|
||
|
|
|
||
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
|
||
|
|
version = "1.1.0"
|