1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
14 rust-version = "1.64.0"
26 description = "Snapshot testing toolbox"
27 homepage = "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox"
28 documentation = "http://docs.rs/snapbox/"
36 categories = ["development-tools::testing"]
37 license = "MIT OR Apache-2.0"
38 repository = "https://github.com/assert-rs/trycmd/"
40 [package.metadata.docs.rs]
48 "-Zrustdoc-scrape-examples",
51 [[package.metadata.release.pre-release-replacements]]
54 replace = "{{version}}"
57 [[package.metadata.release.pre-release-replacements]]
60 replace = "...{{tag_name}}"
63 [[package.metadata.release.pre-release-replacements]]
65 search = "ReleaseDate"
69 [[package.metadata.release.pre-release-replacements]]
71 search = "<!-- next-header -->"
74 ## [Unreleased] - ReleaseDate
78 [[package.metadata.release.pre-release-replacements]]
80 search = "<!-- next-url -->"
83 [Unreleased]: https://github.com/assert-rs/trycmd/compare/{{tag_name}}...HEAD"""
89 [dependencies.anstream]
93 [dependencies.anstyle]
96 [dependencies.backtrace]
100 [dependencies.content_inspector]
104 [dependencies.document-features]
112 [dependencies.escargot]
116 [dependencies.filetime]
120 [dependencies.ignore]
124 [dependencies.libtest-mimic]
128 [dependencies.normalize-line-endings]
131 [dependencies.os_pipe]
135 [dependencies.serde_json]
139 [dependencies.similar]
141 features = ["inline"]
144 [dependencies.snapbox-macros]
147 [dependencies.tempfile]
151 [dependencies.wait-timeout]
155 [dependencies.walkdir]
168 "snapbox-macros/color",
170 color-auto = ["color"]
172 "snapbox-macros/debug",
179 detect-encoding = ["dep:content_inspector"]
180 diff = ["dep:similar"]
181 examples = ["dep:escargot"]
186 json = ["structured-data"]
194 structured-data = ["dep:serde_json"]
196 [target."cfg(unix)".dependencies.libc]
200 [target."cfg(windows)".dependencies.windows-sys]
202 features = ["Win32_Foundation"]