58 lines
1.6 KiB
TOML
58 lines
1.6 KiB
TOML
[package]
|
|
name = "brush-test-harness"
|
|
description = "Test harness library for brush shell integration tests"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
categories.workspace = true
|
|
edition.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
publish = false
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
# Enable insta snapshot support
|
|
insta = ["dep:insta"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.102"
|
|
assert_cmd = "2.2.0"
|
|
assert_fs = "1.1.3"
|
|
clap = { version = "4.6.0", features = ["derive", "env"] }
|
|
colored = "3.1.1"
|
|
descape = "3.0.0"
|
|
diff = "0.1.13"
|
|
glob = "0.3.3"
|
|
indent = "0.1.1"
|
|
insta = { version = "1.47.1", features = ["yaml"], optional = true }
|
|
junit-report = "0.9.0"
|
|
os-release = "0.1.0"
|
|
regex = "1.12.3"
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
yaml_serde = "0.10.7"
|
|
strip-ansi-escapes = "0.2.1"
|
|
tokio = { version = "1.52.3", features = ["rt", "rt-multi-thread", "sync"] }
|
|
version-compare = "0.2.1"
|
|
walkdir = "2.5.0"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
nix = { version = "0.31.2", features = ["process"] }
|
|
|
|
[build-dependencies]
|
|
# Defines the `pty` cfg (see build.rs) used to gate pty-based test code.
|
|
cfg_aliases = "0.2.1"
|
|
|
|
# expectrl's pty support (via ptyprocess) is limited to these platforms;
|
|
# pty-based tests are reported as unsupported elsewhere. Keep this list in sync
|
|
# with the `pty` cfg in build.rs (which gates the code using this dependency).
|
|
[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "macos", target_os = "freebsd"))'.dependencies]
|
|
expectrl = "0.9.0"
|