[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"] }
serde_yaml = "0.9.34"
strip-ansi-escapes = "0.2.1"
tokio = { version = "1.52.1", features = ["rt", "rt-multi-thread", "sync"] }
version-compare = "0.2.1"
walkdir = "2.5.0"

[target.'cfg(unix)'.dependencies]
expectrl = "0.8.0"
nix = { version = "0.31.2", features = ["process"] }
