# 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.60.0" name = "snapbox" version = "0.4.1" 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=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.backtrace] version = "0.3" optional = true [dependencies.concolor] version = "0.0.9" features = ["std"] 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.filetime] version = "0.2" optional = true [dependencies.ignore] version = "0.4" optional = true [dependencies.libc] version = "0.2.137" optional = true [dependencies.libtest-mimic] version = "0.5.2" 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.0" [dependencies.tempfile] version = "3.0" optional = true [dependencies.wait-timeout] version = "0.2.0" optional = true [dependencies.walkdir] version = "2.3.2" optional = true [dependencies.winapi] version = "0.3.9" features = [ "consoleapi", "minwindef", ] optional = true [dependencies.yansi] version = "0.5.0" optional = true [features] cmd = [ "dep:os_pipe", "dep:wait-timeout", "dep:libc", "dep:winapi", ] color = [ "dep:yansi", "concolor", ] color-auto = [ "color", "concolor/auto", ] debug = [ "snapbox-macros/debug", "dep:backtrace", ] default = [ "color-auto", "diff", ] detect-encoding = ["dep:content_inspector"] diff = ["dep:similar"] harness = [ "dep:libtest-mimic", "dep:ignore", ] json = ["structured-data"] path = [ "dep:tempfile", "dep:walkdir", "dep:dunce", "detect-encoding", "dep:filetime", ] structured-data = ["dep:serde_json"]