[[bench]]
harness = false
name = "shell"
path = "benches/shell.rs"
[dependencies.async-recursion]
version = "1.1.0"
[dependencies.async-trait]
version = "0.1.81"
[dependencies.brush-parser]
version = "^0.2.5"
[dependencies.cached]
version = "0.53.0"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.clap]
features = ["derive", "wrap_help"]
version = "=4.4.18"
[dependencies.fancy-regex]
version = "0.13.0"
[dependencies.futures]
version = "0.3.30"
[dependencies.itertools]
version = "0.13.0"
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.rand]
version = "0.8.5"
[dependencies.thiserror]
version = "1.0.62"
[dependencies.tracing]
version = "0.1.40"
[dev-dependencies.anyhow]
version = "1.0.86"
[dev-dependencies.criterion]
features = ["async_tokio", "html_reports"]
version = "0.5.1"
[lib]
bench = false
name = "brush_core"
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]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools"]
description = "Reusable core of a POSIX/bash shell (used by brush-shell)"
edition = "2021"
keywords = ["cli", "shell", "sh", "bash", "script"]
license = "MIT"
name = "brush-core"
readme = "README.md"
repository = "https://github.com/reubeno/brush"
rust-version = "1.72.0"
version = "0.2.5"
[target."cfg(any(windows, unix))".dependencies.hostname]
version = "0.4.0"
[target."cfg(any(windows, unix))".dependencies.os_pipe]
features = ["io_safety"]
version = "1.1.5"
[target."cfg(any(windows, unix))".dependencies.tokio]
features = ["io-util", "macros", "process", "rt", "rt-multi-thread", "signal"]
version = "1.37.0"
[target.'cfg(target_family = "wasm")'.dependencies.tokio]
features = ["io-util", "macros", "rt"]
version = "1.37.0"
[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.16.0"
[target."cfg(unix)".dependencies.command-fds]
version = "0.3.0"
[target."cfg(unix)".dependencies.nix]
features = ["fs", "process", "signal", "term", "user"]
version = "0.29.0"
[target."cfg(unix)".dependencies.uzers]
version = "0.12.0"
[target."cfg(unix)".dev-dependencies.pprof]
features = ["criterion", "flamegraph"]
version = "0.13.0"
[target."cfg(windows)".dependencies.homedir]
version = "0.3.3"
[target."cfg(windows)".dependencies.whoami]
version = "1.5.1"