rusty-pee 0.1.0

Fan stdin out to N concurrent shell-spawned children — a Rust port of moreutils `pee` with strict-compat mode, exit-code aggregation (Default max / Strict bitwise OR), backpressure-paced byte-perfect delivery, 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-pee"
version = "0.1.0"
authors = ["James Han <jsh562@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fan stdin out to N concurrent shell-spawned children — a Rust port of moreutils `pee` with strict-compat mode, exit-code aggregation (Default max / Strict bitwise OR), backpressure-paced byte-perfect delivery, and a typed library API."
homepage = "https://github.com/jsh562/rusty-pee"
documentation = "https://docs.rs/rusty-pee"
readme = "README.md"
keywords = [
    "pee",
    "moreutils",
    "tee",
    "pipe",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jsh562/rusty-pee"

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

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

[features]
bench = ["dep:criterion"]
cli = [
    "dep:clap",
    "dep:clap_complete",
    "dep:anyhow",
    "dep:signal-hook",
]
default = ["cli"]
dev-helpers = []
pee-alias = ["cli"]

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

[[bin]]
name = "fake-pee-child"
path = "tests/bin/fake_pee_child.rs"
test = false
doctest = false
bench = false
required-features = ["dev-helpers"]

[[bin]]
name = "pee"
path = "src/bin/pee.rs"
required-features = ["pee-alias"]

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

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

[[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 = "fake_pee_child_contract"
path = "tests/fake_pee_child_contract.rs"

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

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
required-features = ["bench"]

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

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

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

[dependencies.criterion]
version = "0.5"
optional = true

[dependencies.signal-hook]
version = "0.3"
optional = true

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.insta]
version = "1"
features = ["yaml"]

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

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

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

[target.'cfg(target_os = "linux")'.dev-dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Foundation",
    "Win32_System_Console",
    "Win32_System_Threading",
    "Win32_Security",
]

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