[package]
edition = "2021"
name = "command-stream"
version = "1.3.0"
authors = ["link-foundation"]
build = false
exclude = ["benchmarks/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modern shell command execution library with streaming, async iteration, and event support"
readme = "README.md"
keywords = [
"shell",
"command",
"streaming",
"async",
"process",
]
categories = [
"command-line-utilities",
"asynchronous",
]
license = "Unlicense"
repository = "https://github.com/link-foundation/command-stream"
[features]
default = []
json = []
[lib]
name = "command_stream"
path = "src/lib.rs"
[[bin]]
name = "command-stream"
path = "src/main.rs"
[[example]]
name = "cross_spawn_migration"
path = "examples/cross_spawn_migration.rs"
[[example]]
name = "language_features"
path = "examples/language_features.rs"
[[example]]
name = "process_pid_access"
path = "examples/process_pid_access.rs"
[[example]]
name = "signals_graceful_shutdown"
path = "examples/signals_graceful_shutdown.rs"
[[test]]
name = "builtin_commands"
path = "tests/builtin_commands.rs"
[[test]]
name = "bun_shell_conformance"
path = "tests/bun_shell_conformance.rs"
[[test]]
name = "cd_invocation_isolation"
path = "tests/cd_invocation_isolation.rs"
[[test]]
name = "child_access"
path = "tests/child_access.rs"
[[test]]
name = "competitor_compatibility"
path = "tests/competitor_compatibility.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "getcwd_error_handling"
path = "tests/getcwd_error_handling.rs"
[[test]]
name = "macros"
path = "tests/macros.rs"
[[test]]
name = "multiline_interpolation"
path = "tests/multiline_interpolation.rs"
[[test]]
name = "parallel_sleep"
path = "tests/parallel_sleep.rs"
[[test]]
name = "paths_with_spaces"
path = "tests/paths_with_spaces.rs"
[[test]]
name = "pipeline"
path = "tests/pipeline.rs"
[[test]]
name = "prefer_local"
path = "tests/prefer_local.rs"
[[test]]
name = "process_pid"
path = "tests/process_pid.rs"
[[test]]
name = "process_runner"
path = "tests/process_runner.rs"
[[test]]
name = "redirection_silent_failure"
path = "tests/redirection_silent_failure.rs"
[[test]]
name = "result_streams"
path = "tests/result_streams.rs"
[[test]]
name = "shell_operators_execution"
path = "tests/shell_operators_execution.rs"
[[test]]
name = "shell_parser"
path = "tests/shell_parser.rs"
[[test]]
name = "signals"
path = "tests/signals.rs"
[[test]]
name = "state"
path = "tests/state.rs"
[[test]]
name = "stdin_streaming"
path = "tests/stdin_streaming.rs"
[[test]]
name = "stream"
path = "tests/stream.rs"
[[test]]
name = "terminal_capture"
path = "tests/terminal_capture.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"
[[test]]
name = "virtual_commands"
path = "tests/virtual_commands.rs"
[[test]]
name = "zx_argv"
path = "tests/zx_argv.rs"
[[test]]
name = "zx_core"
path = "tests/zx_core.rs"
[[test]]
name = "zx_dotenv"
path = "tests/zx_dotenv.rs"
[[test]]
name = "zx_error"
path = "tests/zx_error.rs"
[[test]]
name = "zx_goods"
path = "tests/zx_goods.rs"
[[test]]
name = "zx_log"
path = "tests/zx_log.rs"
[[test]]
name = "zx_md"
path = "tests/zx_md.rs"
[[test]]
name = "zx_output"
path = "tests/zx_output.rs"
[[test]]
name = "zx_process"
path = "tests/zx_process.rs"
[[test]]
name = "zx_util"
path = "tests/zx_util.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
[dependencies.filetime]
version = "0.2"
[dependencies.glob]
version = "0.3"
[dependencies.libc]
version = "0.2"
[dependencies.nix]
version = "0.29"
features = [
"signal",
"process",
"fs",
]
[dependencies.once_cell]
version = "1.20"
[dependencies.portable-pty]
version = "0.9"
[dependencies.regex]
version = "1.11"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.43"
features = [
"full",
"process",
"signal",
]
[dependencies.vt100]
version = "0.15"
[dependencies.which]
version = "7.0"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.fancy-regex]
version = "0.19"
[dev-dependencies.serde_json]
version = "1.0"
features = ["unbounded_depth"]
[dev-dependencies.tempfile]
version = "3.14"
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.release]
opt-level = 3
lto = true