[[bin]]
name = "snap-fixture"
[dependencies.backtrace]
optional = true
version = "0.3"
[dependencies.concolor]
optional = true
version = "0.0.8"
[dependencies.content_inspector]
optional = true
version = "0.2.4"
[dependencies.document-features]
optional = true
version = "0.2"
[dependencies.dunce]
optional = true
version = "1.0"
[dependencies.filetime]
optional = true
version = "0.2"
[dependencies.ignore]
optional = true
version = "0.4"
[dependencies.libtest-mimic]
optional = true
version = "0.3.0"
[dependencies.normalize-line-endings]
version = "0.3.0"
[dependencies.os_pipe]
optional = true
version = "1.0"
[dependencies.similar]
features = ["inline"]
optional = true
version = "2.1.0"
[dependencies.snapbox-macros]
version = "0.2.1"
[dependencies.tempfile]
optional = true
version = "3.0"
[dependencies.wait-timeout]
optional = true
version = "0.2.0"
[dependencies.walkdir]
optional = true
version = "2.3.2"
[dependencies.yansi]
optional = true
version = "0.5.0"
[features]
cmd = ["os_pipe", "wait-timeout"]
color = ["yansi", "concolor/std"]
color-auto = ["color", "concolor/auto"]
debug = ["snapbox-macros/debug", "backtrace"]
default = ["color-auto", "diff"]
detect-encoding = ["content_inspector"]
diff = ["similar"]
harness = ["libtest-mimic", "ignore"]
path = ["tempfile", "walkdir", "dunce", "detect-encoding", "filetime"]
[package]
categories = ["development-tools::testing"]
description = "Snapshot testing toolbox"
documentation = "http://docs.rs/snapbox/"
edition = "2018"
homepage = "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox"
include = ["build.rs", "src/**/*", "Cargo.toml", "LICENSE*", "README.md", "benches/**/*", "examples/**/*"]
keywords = ["cli", "test", "assert", "command"]
license = "MIT OR Apache-2.0"
name = "snapbox"
readme = "README.md"
repository = "https://github.com/assert-rs/trycmd/"
version = "0.2.10"
[package.metadata.docs.rs]
all-features = true
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples=examples"]
rustdoc-args = ["--cfg", "docsrs"]
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
min = 1
replace = "{{version}}"
search = "Unreleased"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "...{{tag_name}}"
search = "\\.\\.\\.HEAD"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
min = 1
replace = "{{date}}"
search = "ReleaseDate"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "<!-- next-header -->\n## [Unreleased] - ReleaseDate\n"
search = "<!-- next-header -->"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/trycmd/compare/{{tag_name}}...HEAD"
search = "<!-- next-url -->"