# 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 = "2021" rust-version = "1.64.0" name = "snapbox" version = "0.4.11" include = [ "build.rs", "src/**/*", "Cargo.toml", "LICENSE*", "README.md", "benches/**/*", "examples/**/*", ] description = "Snapshot testing toolbox" homepage = "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox" documentation = "http://docs.rs/snapbox/" readme = "README.md" keywords = [ "cli", "test", "assert", "command", ] categories = ["development-tools::testing"] license = "MIT OR Apache-2.0" repository = "https://github.com/assert-rs/trycmd/" [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 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = '\.\.\.HEAD' replace = "...{{tag_name}}" exactly = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "ReleaseDate" replace = "{{date}}" min = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "" replace = """ ## [Unreleased] - ReleaseDate """ exactly = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "" replace = """ [Unreleased]: https://github.com/assert-rs/trycmd/compare/{{tag_name}}...HEAD""" exactly = 1 [[bin]] name = "snap-fixture" [dependencies.anstream] version = "0.3.0" optional = true [dependencies.anstyle] version = "1.0.0" [dependencies.backtrace] version = "0.3" optional = true [dependencies.content_inspector] version = "0.2.4" optional = true [dependencies.document-features] version = "0.2.6" optional = true [dependencies.dunce] version = "1.0" optional = true [dependencies.escargot] version = "0.5.7" optional = true [dependencies.filetime] version = "0.2" optional = true [dependencies.ignore] version = "0.4" optional = true [dependencies.libtest-mimic] version = "0.6.0" optional = true [dependencies.normalize-line-endings] version = "0.3.0" [dependencies.os_pipe] version = "1.0" optional = true [dependencies.serde_json] version = "1.0.85" optional = true [dependencies.similar] version = "2.1.0" features = ["inline"] optional = true [dependencies.snapbox-macros] version = "0.3.4" [dependencies.tempfile] version = "3.0" optional = true [dependencies.wait-timeout] version = "0.2.0" optional = true [dependencies.walkdir] version = "2.3.2" optional = true [features] cmd = [ "dep:os_pipe", "dep:wait-timeout", "dep:libc", "dep:windows-sys", ] color = [ "dep:anstream", "snapbox-macros/color", ] color-auto = ["color"] debug = [ "snapbox-macros/debug", "dep:backtrace", ] default = [ "color-auto", "diff", ] detect-encoding = ["dep:content_inspector"] diff = ["dep:similar"] examples = ["dep:escargot"] harness = [ "dep:libtest-mimic", "dep:ignore", ] json = [ "structured-data", "dep:serde_json", ] path = [ "dep:tempfile", "dep:walkdir", "dep:dunce", "detect-encoding", "dep:filetime", ] structured-data = ["dep:serde_json"] [target."cfg(unix)".dependencies.libc] version = "0.2.137" optional = true [target."cfg(windows)".dependencies.windows-sys] version = "0.45.0" features = ["Win32_Foundation"] optional = true