]> git.proxmox.com Git - rustc.git/blob - vendor/snapbox/Cargo.toml
New upstream version 1.71.1+dfsg1
[rustc.git] / vendor / snapbox / Cargo.toml
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
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.
7 #
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.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.64.0"
15 name = "snapbox"
16 version = "0.4.10"
17 include = [
18 "build.rs",
19 "src/**/*",
20 "Cargo.toml",
21 "LICENSE*",
22 "README.md",
23 "benches/**/*",
24 "examples/**/*",
25 ]
26 description = "Snapshot testing toolbox"
27 homepage = "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox"
28 documentation = "http://docs.rs/snapbox/"
29 readme = "README.md"
30 keywords = [
31 "cli",
32 "test",
33 "assert",
34 "command",
35 ]
36 categories = ["development-tools::testing"]
37 license = "MIT OR Apache-2.0"
38 repository = "https://github.com/assert-rs/trycmd/"
39
40 [package.metadata.docs.rs]
41 all-features = true
42 rustdoc-args = [
43 "--cfg",
44 "docsrs",
45 ]
46 cargo-args = [
47 "-Zunstable-options",
48 "-Zrustdoc-scrape-examples",
49 ]
50
51 [[package.metadata.release.pre-release-replacements]]
52 file = "CHANGELOG.md"
53 search = "Unreleased"
54 replace = "{{version}}"
55 min = 1
56
57 [[package.metadata.release.pre-release-replacements]]
58 file = "CHANGELOG.md"
59 search = '\.\.\.HEAD'
60 replace = "...{{tag_name}}"
61 exactly = 1
62
63 [[package.metadata.release.pre-release-replacements]]
64 file = "CHANGELOG.md"
65 search = "ReleaseDate"
66 replace = "{{date}}"
67 min = 1
68
69 [[package.metadata.release.pre-release-replacements]]
70 file = "CHANGELOG.md"
71 search = "<!-- next-header -->"
72 replace = """
73 <!-- next-header -->
74 ## [Unreleased] - ReleaseDate
75 """
76 exactly = 1
77
78 [[package.metadata.release.pre-release-replacements]]
79 file = "CHANGELOG.md"
80 search = "<!-- next-url -->"
81 replace = """
82 <!-- next-url -->
83 [Unreleased]: https://github.com/assert-rs/trycmd/compare/{{tag_name}}...HEAD"""
84 exactly = 1
85
86 [[bin]]
87 name = "snap-fixture"
88
89 [dependencies.anstream]
90 version = "0.2.1"
91 optional = true
92
93 [dependencies.anstyle]
94 version = "0.3.1"
95
96 [dependencies.backtrace]
97 version = "0.3"
98 optional = true
99
100 [dependencies.content_inspector]
101 version = "0.2.4"
102 optional = true
103
104 [dependencies.document-features]
105 version = "0.2.6"
106 optional = true
107
108 [dependencies.dunce]
109 version = "1.0"
110 optional = true
111
112 [dependencies.escargot]
113 version = "0.5.7"
114 optional = true
115
116 [dependencies.filetime]
117 version = "0.2"
118 optional = true
119
120 [dependencies.ignore]
121 version = "0.4"
122 optional = true
123
124 [dependencies.libtest-mimic]
125 version = "0.6.0"
126 optional = true
127
128 [dependencies.normalize-line-endings]
129 version = "0.3.0"
130
131 [dependencies.os_pipe]
132 version = "1.0"
133 optional = true
134
135 [dependencies.serde_json]
136 version = "1.0.85"
137 optional = true
138
139 [dependencies.similar]
140 version = "2.1.0"
141 features = ["inline"]
142 optional = true
143
144 [dependencies.snapbox-macros]
145 version = "0.3.3"
146
147 [dependencies.tempfile]
148 version = "3.0"
149 optional = true
150
151 [dependencies.wait-timeout]
152 version = "0.2.0"
153 optional = true
154
155 [dependencies.walkdir]
156 version = "2.3.2"
157 optional = true
158
159 [features]
160 cmd = [
161 "dep:os_pipe",
162 "dep:wait-timeout",
163 "dep:libc",
164 "dep:windows-sys",
165 ]
166 color = [
167 "dep:anstream",
168 "snapbox-macros/color",
169 ]
170 color-auto = ["color"]
171 debug = [
172 "snapbox-macros/debug",
173 "dep:backtrace",
174 ]
175 default = [
176 "color-auto",
177 "diff",
178 ]
179 detect-encoding = ["dep:content_inspector"]
180 diff = ["dep:similar"]
181 examples = ["dep:escargot"]
182 harness = [
183 "dep:libtest-mimic",
184 "dep:ignore",
185 ]
186 json = ["structured-data"]
187 path = [
188 "dep:tempfile",
189 "dep:walkdir",
190 "dep:dunce",
191 "detect-encoding",
192 "dep:filetime",
193 ]
194 structured-data = ["dep:serde_json"]
195
196 [target."cfg(unix)".dependencies.libc]
197 version = "0.2.137"
198 optional = true
199
200 [target."cfg(windows)".dependencies.windows-sys]
201 version = "0.45.0"
202 features = ["Win32_Foundation"]
203 optional = true