File: Cargo.toml

package info (click to toggle)
trippy 0.13.0%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,884 kB
  • sloc: sh: 41; makefile: 28
file content (102 lines) | stat: -rw-r--r-- 3,131 bytes parent folder | download
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[workspace]
resolver = "2"
members = [
  "crates/trippy",
  "crates/trippy-tui",
  "crates/trippy-core",
  "crates/trippy-packet",
  "crates/trippy-privilege",
  "crates/trippy-dns",
  "examples/*",
]

[workspace.package]
version = "0.13.0"
authors = ["FujiApple <fujiapple852@gmail.com>"]
documentation = "https://github.com/fujiapple852/trippy"
homepage = "https://github.com/fujiapple852/trippy"
repository = "https://github.com/fujiapple852/trippy"
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.78"
keywords = ["cli", "tui", "traceroute", "ping", "icmp"]
categories = ["command-line-utilities", "network-programming"]

[workspace.dependencies]
trippy-tui = { version = "0.13.0", path = "crates/trippy-tui" }
trippy-core = { version = "0.13.0", path = "crates/trippy-core" }
trippy-privilege = { version = "0.13.0", path = "crates/trippy-privilege" }
trippy-dns = { version = "0.13.0", path = "crates/trippy-dns" }
trippy-packet = { version = "0.13.0", path = "crates/trippy-packet" }
anyhow = "1.0"
arrayvec = { version = "0.7", default-features = false }
bitflags = "2.9.0"
caps = "0.5.5"
chrono = { version = "0.4.39", default-features = false }
chrono-tz = "0.10.1"
clap = { version = "4.5.20", default-features = false }
clap_complete = "4.4.9"
clap_mangen = "0.2.20"
comfy-table = { version = "7.1", default-features = false }
crossbeam = "0.8.4"
crossterm = { version = "0.27",  default-features = false }
csv = "1.3"
derive_more = { version = "1", default-features = false }
dns-lookup = "1.0"
encoding_rs_io = "0.1.7"
etcetera = "0.8.0"
hex-literal = "0.4.1"
hickory-resolver = "0.24.4"
humantime = "2.1.0"
indexmap = { version = "2.7", default-features = false }
insta =  "1.39"
ipnetwork = "0.21.1"
itertools = "0.13.0"
maxminddb = "0.24.0"
mockall = "0.13"
nix = { version = "0.29.0", default-features = false }
parking_lot = "0.12.3"
paste = "1.0.15"
petgraph = "0.6.4"
pretty_assertions = "1.4"
rand = "0.8"
ratatui = "0.28"
serde = { version = "1.0.201", default-features = false }
serde_json = { version = "1.0.117", default-features = false }
serde_with = { version = "3.11", default-features = false, features = ["macros"] }
socket2 = "0.5.8"
strum = { version = "0.26", default-features = false }
sys-locale = "0.3"
test-case = "3.3.1"
thiserror = "1"
tokio = "1.44.2"
tokio-util = "0.7.10"
toml = { version = "0.8.19", default-features = false }
tracing = "0.1"
tracing-chrome = "0.7.2"
tracing-subscriber = { version = "0.3.18", default-features = false }
#tun2 = "4.0.0"
unicode-width = "0.2.0"
widestring = "1.2.0"
#windows-sys = "0.52.0"

[workspace.lints.rust]
unsafe_code = "deny"
rust_2018_idioms = { level = "warn", priority = -1 }

[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
option_if_let_else = "allow"
cast_possible_truncation = "allow"
missing_errors_doc = "allow"
cast_precision_loss = "allow"
bool_assert_comparison = "allow"
missing_const_for_fn = "allow"
struct_field_names = "allow"

[profile.release]
lto = true