219 lines
4.0 KiB
TOML
219 lines
4.0 KiB
TOML
# 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.88.0"
|
|
name = "brush-core"
|
|
version = "0.5.0"
|
|
build = false
|
|
autolib = 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"
|
|
|
|
[features]
|
|
default = []
|
|
experimental-parser = ["brush-parser/winnow-parser"]
|
|
serde = [
|
|
"dep:serde",
|
|
"brush-parser/serde",
|
|
"rpds/serde",
|
|
"chrono/serde",
|
|
]
|
|
|
|
[lib]
|
|
name = "brush_core"
|
|
path = "src/lib.rs"
|
|
bench = false
|
|
|
|
|
|
[dependencies.async-recursion]
|
|
version = "1.1.1"
|
|
|
|
[dependencies.async-trait]
|
|
version = "0.1.89"
|
|
|
|
[dependencies.bon]
|
|
version = "3.9.1"
|
|
|
|
[dependencies.brush-parser]
|
|
version = "^0.4.0"
|
|
|
|
[dependencies.cached]
|
|
version = "0.59.0"
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1.0.4"
|
|
|
|
[dependencies.chrono]
|
|
version = "0.4.44"
|
|
|
|
[dependencies.clap]
|
|
version = "4.6.0"
|
|
features = [
|
|
"derive",
|
|
"wrap_help",
|
|
]
|
|
|
|
[dependencies.color-print]
|
|
version = "0.3.7"
|
|
|
|
[dependencies.fancy-regex]
|
|
version = "0.17.0"
|
|
|
|
[dependencies.futures]
|
|
version = "0.3.32"
|
|
|
|
[dependencies.inherent]
|
|
version = "1.0.13"
|
|
|
|
[dependencies.itertools]
|
|
version = "0.14.0"
|
|
|
|
[dependencies.normalize-path]
|
|
version = "0.2.1"
|
|
|
|
[dependencies.rand]
|
|
version = "0.10.0"
|
|
|
|
[dependencies.rpds]
|
|
version = "1.2.0"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.228"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.strum]
|
|
version = "0.28.0"
|
|
|
|
[dependencies.strum_macros]
|
|
version = "0.28.0"
|
|
|
|
[dependencies.thiserror]
|
|
version = "2.0.18"
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.44"
|
|
|
|
[dependencies.tokio-util]
|
|
version = "0.7.16"
|
|
|
|
[dev-dependencies.anyhow]
|
|
version = "1.0.102"
|
|
|
|
[dev-dependencies.pretty_assertions]
|
|
version = "1.4.1"
|
|
features = ["unstable"]
|
|
|
|
[dev-dependencies.tempfile]
|
|
version = "3.27.0"
|
|
|
|
[target."cfg(any(unix, windows))".dependencies.hostname]
|
|
version = "0.4.2"
|
|
|
|
[target."cfg(any(unix, windows))".dependencies.tokio]
|
|
version = "1.50.0"
|
|
features = [
|
|
"io-util",
|
|
"macros",
|
|
"net",
|
|
"process",
|
|
"rt",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
"sync",
|
|
"time",
|
|
]
|
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies.tokio]
|
|
version = "1.52.1"
|
|
features = [
|
|
"io-util",
|
|
"macros",
|
|
"rt",
|
|
"time",
|
|
"sync",
|
|
]
|
|
|
|
[target."cfg(unix)".dependencies.command-fds]
|
|
version = "0.3.2"
|
|
|
|
[target."cfg(unix)".dependencies.libc]
|
|
version = "0.2.183"
|
|
|
|
[target."cfg(unix)".dependencies.nix]
|
|
version = "0.31.2"
|
|
features = [
|
|
"fs",
|
|
"poll",
|
|
"process",
|
|
"resource",
|
|
"signal",
|
|
"term",
|
|
"user",
|
|
]
|
|
|
|
[target."cfg(unix)".dependencies.terminfo]
|
|
version = "0.9.0"
|
|
|
|
[target."cfg(unix)".dependencies.uzers]
|
|
version = "0.12.2"
|
|
|
|
[target."cfg(windows)".dependencies.check_elevation]
|
|
version = "0.2.7"
|
|
|
|
[target."cfg(windows)".dependencies.whoami]
|
|
version = "2.1.1"
|
|
|
|
[target."cfg(windows)".dependencies.windows-sys]
|
|
version = "0.59"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_Security",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_Console",
|
|
"Win32_System_Diagnostics_ToolHelp",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
]
|
|
|
|
[target.wasm32-unknown-unknown.dependencies.getrandom]
|
|
version = "0.4.2"
|
|
features = ["wasm_js"]
|
|
|
|
[target.wasm32-unknown-unknown.dependencies.uuid]
|
|
version = "1.23.1"
|
|
features = ["js"]
|
|
|
|
[lints.clippy]
|
|
all = { level = "allow", priority = -1 }
|
|
nursery = { level = "allow", priority = -1 }
|
|
pedantic = { level = "allow", priority = -1 }
|
|
cargo = { level = "allow", priority = -1 }
|