# 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 = "2021" rust-version = "1.75.0" name = "brush-core" version = "0.2.12" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Reusable core of a POSIX/bash shell (used by brush-shell)" readme = "README.md" keywords = [ "cli", "shell", "sh", "bash", "script", ] categories = [ "command-line-utilities", "development-tools", ] license = "MIT" repository = "https://github.com/reubeno/brush" [lib] name = "brush_core" path = "src/lib.rs" bench = false [[bench]] name = "shell" path = "benches/shell.rs" harness = false [dependencies.async-recursion] version = "1.1.1" [dependencies.async-trait] version = "0.1.83" [dependencies.brush-parser] version = "^0.2.10" [dependencies.cached] version = "0.53.1" [dependencies.cfg-if] version = "1.0.0" [dependencies.clap] version = "4.5.20" features = [ "derive", "wrap_help", ] [dependencies.fancy-regex] version = "0.14.0" [dependencies.futures] version = "0.3.31" [dependencies.indexmap] version = "2.6.0" [dependencies.itertools] version = "0.13.0" [dependencies.lazy_static] version = "1.5.0" [dependencies.rand] version = "0.8.5" [dependencies.thiserror] version = "1.0.65" [dependencies.tracing] version = "0.1.40" [dev-dependencies.anyhow] version = "1.0.91" [dev-dependencies.criterion] version = "0.5.1" features = [ "async_tokio", "html_reports", ] [target."cfg(any(windows, unix))".dependencies.hostname] version = "0.4.0" [target."cfg(any(windows, unix))".dependencies.os_pipe] version = "1.2.1" features = ["io_safety"] [target."cfg(any(windows, unix))".dependencies.tokio] version = "1.41.0" features = [ "io-util", "macros", "process", "rt", "rt-multi-thread", "signal", ] [target.'cfg(target_family = "wasm")'.dependencies.tokio] version = "1.41.0" features = [ "io-util", "macros", "rt", ] [target.'cfg(target_os = "linux")'.dependencies.procfs] version = "0.17.0" [target."cfg(unix)".dependencies.command-fds] version = "0.3.0" [target."cfg(unix)".dependencies.nix] version = "0.29.0" features = [ "fs", "process", "signal", "term", "user", ] [target."cfg(unix)".dependencies.uzers] version = "0.12.1" [target."cfg(unix)".dev-dependencies.pprof] version = "0.13.0" features = [ "criterion", "flamegraph", ] [target."cfg(windows)".dependencies.homedir] version = "0.3.4" [target."cfg(windows)".dependencies.whoami] version = "1.5.2" [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