[package]
name = "trycmd"
version = "0.15.8"
description = "Snapshot testing for a herd of CLI tests"
authors = ["Ed Page <eopage@gmail.com>"]
homepage = "https://github.com/assert-rs/trycmd"
documentation = "http://docs.rs/trycmd/"
readme = "README.md"
categories = ["development-tools::testing"]
keywords = ["cli", "test", "assert", "command", "duct"]
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
[package.metadata.release]
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/trycmd/compare/{{tag_name}}...HEAD", exactly=1},
]
[features]
default = ["color-auto", "filesystem", "diff"]
color = ["snapbox/color", "dep:anstream"]
color-auto = ["color", "snapbox/color-auto"]
diff = ["snapbox/diff"]
filesystem = ["snapbox/dir"]
schema = ["dep:schemars", "dep:serde_json"]
examples = ["snapbox/examples"]
debug = ["snapbox/debug"]
[[bin]]
name = "bin-fixture"
[[bin]]
name = "trycmd-schema"
required-features = ["schema"]
[dependencies]
automod = "1.0.14"
snapbox = { path = "../snapbox", version = "0.6.19", default-features = false, features = ["cmd"] }
anstream = { version = "0.6.7", optional = true }
glob = "0.3.0"
rayon = "1.5.1"
serde = { version = "1.0", features = ["derive"] }
shlex = "1.1.0"
humantime = "2"
humantime-serde = "1"
toml_edit = { version = "0.22.13", features = ["serde"] }
escargot = { version = "0.5.13", optional = true }
schemars = { version = "0.8.21", features = ["preserve_order"], optional = true }
serde_json = { version = "1.0", optional = true }
[lints]
workspace = true