forked from trailofbits/anchor-coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (74 loc) · 2.1 KB
/
Cargo.toml
File metadata and controls
83 lines (74 loc) · 2.1 KB
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
[package]
name = "anchor-coverage"
version = "0.3.1"
authors = ["Samuel Moelius <sam@moeli.us>"]
description = "A wrapper around `anchor test` for computing test coverage"
edition = "2024"
license = "AGPL-3.0"
repository = "https://github.com/trailofbits/anchor-coverage"
[dependencies]
addr2line = "0.26"
anyhow = "1.0"
byteorder = "1.5"
cargo_metadata = "0.23"
toml = "0.9"
# smoelius: Dependencies needed for `__anchor_cli`.
anchor-client = { version = "0.32", optional = true }
anchor-lang = { version = "0.32", optional = true }
anchor-lang-idl = { version = "0.1", features = [
"build",
"convert",
], optional = true }
cargo_toml = { version = "0.22", optional = true }
clap = { version = "4.5", features = ["derive"], optional = true }
dirs = { version = "6.0", optional = true }
heck = { version = "0.5", optional = true }
regex = { version = "1.12", optional = true }
reqwest = { version = "0.13", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
shellexpand = { version = "3.1", optional = true }
solana-cli-config = { version = "3.1", optional = true }
solana-sdk = { version = "2.3", optional = true }
walkdir = { version = "2.5", optional = true }
[build-dependencies]
nested_workspace = "0.7"
[dev-dependencies]
assert_cmd = "2.1"
ctor = "0.6"
lcov = "0.8"
nested_workspace = "0.7"
regex = "1.12"
tempfile = "3.25"
[features]
default = ["__anchor_cli"]
__anchor_cli = [
"anchor-client",
"anchor-lang",
"anchor-lang-idl",
"cargo_toml",
"clap",
"dirs",
"heck",
"reqwest",
"regex",
"serde",
"serde_json",
"shellexpand",
"solana-cli-config",
"solana-sdk",
"walkdir",
]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
missing-errors-doc = "allow"
missing-panics-doc = "allow"
[lints.rust.unexpected_cfgs]
level = "deny"
check-cfg = ["cfg(dylint_lib, values(any()))"]
[package.metadata.nested_workspace]
roots = ["fixtures/*"]
[workspace.metadata.dylint]
libraries = [
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/inconsistent_qualification" },
]