forked from sourcefrog/cargo-mutants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
172 lines (157 loc) · 4.35 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
[package]
name = "cargo-mutants"
version = "24.7.1"
edition = "2021"
authors = ["Martin Pool"]
license = "MIT"
description = "Inject bugs and see if your tests catch them"
repository = "https://github.com/sourcefrog/cargo-mutants"
homepage = "https://mutants.rs/"
categories = ["development-tools::testing"]
keywords = ["testing", "mutants", "cargo", "mutation-testing", "coverage"]
rust-version = "1.74"
[package.metadata.wix]
upgrade-guid = "CA7BFE8D-F3A7-4D1D-AE43-B7749110FA90"
path-guid = "457C7F8E-0F02-42CC-80D9-FE55FBED23F8"
license = false
eula = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.86"
camino = "1.1.6"
cargo_metadata = "0.18"
clap = { version = "4.4.1", features = [
"deprecated",
"derive",
"env",
"wrap_help",
] }
clap_complete = "4"
color-print = "0.3"
console = "0.15"
ctrlc = { version = "3.2.1", features = ["termination"] }
fastrand = "2"
fs2 = "0.4"
globset = "0.4.10"
humantime = "2.1.0"
ignore = "0.4.20"
indoc = "2.0.0"
itertools = "0.12"
jobserver = "0.1"
mutants = "0.0.3"
num_cpus = "1.16"
patch = "0.7"
path-slash = "0.2"
quote = "1.0.35"
regex = "1.10"
serde_json = "1.0.117"
similar = "2.1"
strum = { version = "0.26", features = ["derive"] }
tempfile = "3.4"
time = "0.3"
toml = "0.8"
tracing = "0.1.40"
tracing-appender = "0.2"
tracing-subscriber = "0.3.18"
whoami = "1.5"
[dependencies.nutmeg]
version = "0.1.4"
# git = "https://github.com/sourcefrog/nutmeg.git"
[dependencies.proc-macro2]
features = ["span-locations"]
version = "1.0.74"
[dependencies.serde]
version = "1.0.194"
features = ["derive"]
[dependencies.syn]
version = "2.0.46"
features = ["full", "extra-traits", "visit"]
[target.'cfg(unix)'.dependencies]
nix = { version = "0.28", features = ["process", "signal"] }
[dev-dependencies]
assert_cmd = "2.0"
cp_r = "0.5.1"
insta = "1.12"
lazy_static = "1.4"
predicates = "3"
pretty_assertions = "1"
rusty-fork = "0.3"
walkdir = "2.5"
[workspace]
members = ["mutants_attrs"]
resolver = "2"
# Exclude all testdata, so that they're more isolated from the real tree, and
# so that support for testing workspaces does not try to test the whole
# cargo-mutants tree.
exclude = [
"testdata/already_failing_tests",
"testdata/already_hangs",
"testdata/cdylib",
"testdata/cfg_attr_mutants_skip",
"testdata/cfg_attr_test_skip",
"testdata/cfg_test_inner",
"testdata/custom_top_file",
"testdata/dangling_mod",
"testdata/dependency",
"testdata/diff0",
"testdata/diff1",
"testdata/error_value",
"testdata/everything_skipped",
"testdata/factorial",
"testdata/fails_without_feature",
"testdata/hang_avoided_by_attr/",
"testdata/hang_when_mutated",
"testdata/insta",
"testdata/integration_tests",
"testdata/many_patterns",
"testdata/missing_test",
"testdata/missing_test_fixed",
"testdata/mut_ref",
"testdata/nested_mod",
"testdata/never_type",
"testdata/override_dependency",
"testdata/package-fails/",
"testdata/patch_dependency",
"testdata/relative_dependency",
"testdata/replace_dependency",
"testdata/small_well_tested",
"testdata/strict_warnings",
"testdata/struct_with_no_default",
"testdata/symlink",
"testdata/unapply",
"testdata/unsafe",
"testdata/well_tested",
"testdata/with_child_directories",
]
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.14.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
# Publish jobs to run in CI
pr-run-mode = "plan"
# # Publish jobs to run in CI
# pr-run-mode = "upload"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[profile.mutants]
inherits = "test"
debug = "none"
# Config for <https://github.com/crate-ci/cargo-release/blob/master/docs/reference.md>
[workspace.metadata.release]
pre-release-replacements = [
{ "file" = "NEWS.md", search = "## Unreleased", replace = "## {{version}}", exactly = 1 },
{ "file" = "CITATION.cff", search = "^version: .*", replace = "version: {{version}}", exactly = 1 },
]