forked from lance0/ttl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (61 loc) · 1.79 KB
/
Copy pathCargo.toml
File metadata and controls
78 lines (61 loc) · 1.79 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
[package]
name = "ttl"
version = "0.15.1"
edition = "2024"
rust-version = "1.88"
description = "Modern traceroute/mtr-style TUI with hop stats and optional ASN/geo enrichment"
license = "MIT OR Apache-2.0"
repository = "https://github.com/lance0/ttl"
keywords = ["traceroute", "mtr", "network", "tui", "diagnostics"]
categories = ["command-line-utilities", "network-programming"]
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
tokio-util = "0.7" # CancellationToken
futures = "0.3" # join_all for parallel DNS
# TUI
ratatui = "0.30"
crossterm = "0.29"
# CLI
clap = { version = "4", features = ["derive"] }
clap_complete = "4.5"
# Networking
socket2 = { version = "0.6", features = ["all"] }
pnet = "0.35"
libc = "0.2"
# DNS (note: trust-dns-resolver is now hickory-resolver)
hickory-resolver = "0.25"
# HTTP client for PeeringDB API
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] }
# ASN/Geo databases
maxminddb = "0.27"
ipnetwork = "0.21"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.9"
csv = "1.3"
chrono = { version = "0.4", features = ["serde"] }
# Error handling
anyhow = "1"
# Better locks
parking_lot = "0.12"
# Cleanup guards
scopeguard = "1"
# Config directories
dirs = "6.0"
# Update notifications
update-informer = { version = "1", default-features = false, features = ["github", "ureq", "rustls-tls"] }
# TTY detection
is-terminal = "0.4"
# Gateway detection - Linux (netlink) and macOS (sysctl) only
# FreeBSD excluded: getifs uses macOS-specific APIs (NET_RT_IFLIST2, rt_msghdr)
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
getifs = "0.4"
[dev-dependencies]
tokio-test = "0.4"
proptest = "1.4"
[profile.release]
lto = true
codegen-units = 1
strip = true