-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
55 lines (48 loc) · 1.25 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
[package]
name = "havn"
version = "0.1.17"
edition = "2021"
authors = ["Jack Wills <[email protected]>"]
description = "A fast configurable port scanner with reasonable defaults"
repository = "https://github.com/mrjackwills/havn"
homepage = "https://github.com/mrjackwills/havn"
license = "MIT"
readme = "README.md"
keywords = ["docker", "havn", "port", "scan", "tokio"]
categories = ["command-line-utilities"]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
unused_async = "warn"
unwrap_used = "warn"
expect_used = "warn"
todo = "warn"
module_name_repetitions = "allow"
doc_markdown = "allow"
similar_names = "allow"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.5", features = ["color", "derive", "unicode"] }
tokio = { version = "1.41", features = [
"macros",
"net",
"parking_lot",
"rt",
"rt-multi-thread",
"signal",
"sync",
"time",
] }
[target.'cfg(windows)'.dependencies]
os_info = "3.8"
[dev-dependencies]
warp = "0.3"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
debug = false
opt-level = "z"