-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
45 lines (35 loc) · 1018 Bytes
/
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
[package]
name = "insecure_account_close"
version = "0.1.0"
authors = ["Samuel Moelius <[email protected]>"]
description = "lint for [9-closing-accounts](https://github.com/coral-xyz/sealevel-attacks/tree/master/programs/9-closing-accounts)"
edition = "2018"
publish = false
[lib]
crate-type = ["cdylib"]
[[example]]
name = "insecure"
path = "ui/insecure/src/lib.rs"
[[example]]
name = "insecure-still"
path = "ui/insecure-still/src/lib.rs"
[[example]]
name = "insecure-still-still"
path = "ui/insecure-still-still/src/lib.rs"
[[example]]
name = "recommended"
path = "ui/recommended/src/lib.rs"
[[example]]
name = "secure"
path = "ui/secure/src/lib.rs"
[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ac4c2094a6030530661bee3876e0228ddfeb6b8b" }
dylint_linting = "2.6"
if_chain = "1.0"
solana-lints = { path = "../../crate" }
[dev-dependencies]
anchor-lang = "0.29"
dylint_testing = "2.6"
[workspace]
[package.metadata.rust-analyzer]
rustc_private = true