rusty-pv 0.1.0

Pipe viewer — a Rust port of Andrew Wood's `pv(1)` with progress bar, ETA, rate display, token-bucket rate limiting, IEC/SI unit math, SIGWINCH-aware terminal redraw, SIGUSR1 size refresh, multi-instance cursor coordination, and a typed library API.
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "rusty-pv"
version = "0.1.0"
authors = ["James Han <jsh562@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "rusty-pv"
description = "Pipe viewer — a Rust port of Andrew Wood's `pv(1)` with progress bar, ETA, rate display, token-bucket rate limiting, IEC/SI unit math, SIGWINCH-aware terminal redraw, SIGUSR1 size refresh, multi-instance cursor coordination, and a typed library API."
homepage = "https://github.com/jsh562/rusty-pv"
documentation = "https://docs.rs/rusty-pv"
readme = "README.md"
keywords = [
    "pv",
    "progress",
    "pipe",
    "throughput",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jsh562/rusty-pv"

[package.metadata.binstall]
bin-dir = "{ name }-v{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[features]
cli = [
    "dep:clap",
    "dep:clap_complete",
    "dep:anyhow",
    "dep:crossterm",
    "dep:signal-hook",
    "dep:fd-lock",
]
default = ["cli"]

[lib]
name = "rusty_pv"
path = "src/lib.rs"

[[bin]]
name = "rusty-pv"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "compat_default"
path = "tests/compat_default.rs"

[[test]]
name = "compat_strict"
path = "tests/compat_strict.rs"

[[test]]
name = "completions_drift"
path = "tests/completions_drift.rs"

[[test]]
name = "library_api"
path = "tests/library_api.rs"

[[test]]
name = "numeric_mode"
path = "tests/numeric_mode.rs"

[[test]]
name = "throttle_timing"
path = "tests/throttle_timing.rs"

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.clap_complete]
version = "4"
optional = true

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.fd-lock]
version = "4"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.static_assertions]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[target."cfg(unix)".dependencies.signal-hook]
version = "0.3"
optional = true

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"