-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
49 lines (43 loc) · 1.67 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
[package]
name = "rustfmt_if_chain"
version = "0.1.7"
authors = ["Samuel E. Moelius III <[email protected]>"]
description = "An if_chain-aware rustfmt (kind of)"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/smoelius/rustfmt_if_chain"
autoexamples = false
[dependencies]
anyhow = "1.0"
if_chain = "1.0"
proc-macro2 = { version = "1.0", features = ["span-locations"] }
quote = "1.0"
rewriter = { version = "0.1", features = ["proc-macro2-span"] }
sedregex = "0.2"
syn = { version = "2.0", features = ["full", "visit"] }
tempfile = "3.10"
[build-dependencies]
rustc_version = "0.4"
[dev-dependencies]
assert_cmd = "2.0"
ctor = "0.3"
predicates = "3.1"
regex = "1.11"
serde_json = "1.0"
similar-asserts = "1.7"
walkdir = "2.5"
[features]
ci = []
[lints.rust.unexpected_cfgs]
level = "deny"
check-cfg = ["cfg(dylint_lib, values(any()))", "cfg(nightly)"]
[workspace.metadata.dylint]
libraries = [
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/general/non_thread_safe_call_in_test" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/supplementary/unnecessary_conversion_for_trait" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/collapsible_unwrap" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/const_path_join" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/misleading_variable_name" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/question_mark_in_expression" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/try_io_result" },
]