-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
77 lines (67 loc) · 1.86 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
[package]
name = "substrace"
version = "0.2.0"
description = "a tool for linting Substrate projects for specific gotchas and other errors"
repository = "https://github.com/KaiserKarel/substrace"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["substrace", "lint", "plugin"]
categories = ["development-tools", "development-tools::cargo-plugins"]
build = "build.rs"
edition = "2021"
publish = true
default-run = "cargo-substrace"
[workspace]
members = [
"substrace_lintcheck",
"substrace_lints",
"substrace_utils",
]
exclude = [
"target/lintcheck/sources/"
]
[[bin]]
name = "cargo-substrace"
test = false
path = "src/main.rs"
[[bin]]
name = "substrace-driver"
path = "src/driver.rs"
[dependencies]
substrace_lints = { version = "0.2.0", path = "substrace_lints" }
semver = "1.0"
rustc_tools_util = "0.2.0"
tempfile = { version = "3.2", optional = true }
termize = "0.1"
[dev-dependencies]
compiletest_rs = { version = "0.8", features = ["tmp"] }
tester = "0.9"
regex = "1.5"
toml = "0.5"
walkdir = "2.3"
# This is used by the `collect-metadata` alias.
filetime = "0.2"
# A noop dependency that changes in the Rust repository, it's a bit of a hack.
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
# for more information.
rustc-workspace-hack = "1.0"
# UI test dependencies
clap = { version = "3.1", features = ["derive"] }
derive-new = "0.5"
if_chain = "1.0"
itertools = "0.10.1"
quote = "1.0"
serde = { version = "1.0.125", features = ["derive"] }
syn = { version = "1.0", features = ["full"] }
futures = "0.3"
parking_lot = "0.12"
tokio = { version = "1", features = ["io-util"] }
rustc-semver = "1.1"
[build-dependencies]
rustc_tools_util = "0.2"
[features]
deny-warnings = ["substrace_lints/deny-warnings"]
integration = ["tempfile"]
[package.metadata.rust-analyzer]
# This package uses #[feature(rustc_private)]
rustc_private = true