[[bin]]
bench = false
name = "brush"
path = "src/main.rs"
[dependencies.async-trait]
version = "0.1.84"
[dependencies.brush-core]
version = "^0.2.14"
[dependencies.brush-parser]
version = "^0.2.12"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.clap]
features = ["derive", "env", "wrap_help"]
version = "4.5.21"
[dependencies.const_format]
version = "0.2.34"
[dependencies.git-version]
version = "0.3.9"
[dependencies.human-panic]
version = "2.0.2"
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.tracing]
version = "0.1.41"
[dependencies.tracing-subscriber]
version = "0.3.19"
[dev-dependencies.anyhow]
version = "1.0.95"
[dev-dependencies.assert_cmd]
version = "2.0.16"
[dev-dependencies.assert_fs]
version = "1.1.2"
[dev-dependencies.colored]
version = "2.2.0"
[dev-dependencies.descape]
version = "2.0.3"
[dev-dependencies.diff]
version = "0.1.13"
[dev-dependencies.dir-cmp]
version = "0.1.0"
[dev-dependencies.glob]
version = "0.3.2"
[dev-dependencies.indent]
version = "0.1.1"
[dev-dependencies.junit-report]
version = "0.8.3"
[dev-dependencies.pathdiff]
version = "0.2.3"
[dev-dependencies.regex]
version = "1.11.1"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0.217"
[dev-dependencies.serde_yaml]
version = "0.9.34"
[dev-dependencies.strip-ansi-escapes]
version = "0.2.0"
[dev-dependencies.version-compare]
version = "0.2.0"
[features]
basic = ["brush-interactive/basic"]
default = ["basic", "reedline", "minimal"]
minimal = ["brush-interactive/minimal"]
reedline = ["brush-interactive/reedline"]
[lib]
name = "brush_shell"
path = "src/lib.rs"
[lints.clippy]
bool_to_int_with_if = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
expect_used = "deny"
format_push_string = "deny"
if_not_else = "allow"
if_same_then_else = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
panic_in_result_fn = "deny"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
result_large_err = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
todo = "deny"
unwrap_in_result = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[package]
authors = ["reuben olinsky"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools"]
description = "Rust-implemented shell focused on POSIX and bash compatibility"
edition = "2021"
keywords = ["cli", "shell", "sh", "bash", "script"]
license = "MIT"
name = "brush-shell"
readme = "README.md"
repository = "https://github.com/reubeno/brush"
rust-version = "1.75.0"
version = "0.2.14"
[target."cfg(any(windows, unix))".dependencies.brush-interactive]
features = ["basic", "reedline"]
version = "^0.2.14"
[target."cfg(any(windows, unix))".dependencies.tokio]
features = ["rt", "rt-multi-thread", "sync"]
version = "1.41.1"
[target."cfg(not(any(windows, unix)))".dependencies.brush-interactive]
features = ["minimal"]
version = "^0.2.14"
[target."cfg(not(any(windows, unix)))".dependencies.tokio]
features = ["rt", "sync"]
version = "1.42.0"
[[test]]
harness = false
name = "brush-compat-tests"
path = "tests/compat_tests.rs"
[[test]]
name = "brush-completion-tests"
path = "tests/completion_tests.rs"
[[test]]
name = "brush-interactive-tests"
path = "tests/interactive_tests.rs"