-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (40 loc) · 1.22 KB
/
Copy pathCargo.toml
File metadata and controls
46 lines (40 loc) · 1.22 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
[package]
name = "whatismyip"
version = "0.18.0"
authors = ["Billie Thompson <billie@billiecodes.com>"]
edition = "2024"
license = "CC0-1.0"
repository = "https://codeberg.org/PurpleBooth/whatismyip"
categories = [ "development-tools", "command-line-utilities" ]
keywords = [ "dns", "ip", "resolve" ]
description = "Work out what your IP Address is"
[lib]
name = "whatismyip"
path = "src/lib.rs"
[[bin]]
name = "whatismyip"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive", "wrap_help", "env", "cargo", "color", "error-context", "help", "unicode", "usage", "string", "suggestions"] }
hickory-resolver = { version = "0.26", features = ["tokio", "tls-ring" ] }
futures = "0.3"
tokio = { version = "1", features = ["rt", "rt-multi-thread", "net", "sync", ] }
miette = { version = "7", features = ["fancy"] }
local-ip-address = "0.6"
[profile.release-max]
inherits = "release"
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
debug = false
debug-assertions = false
overflow-checks = false
incremental = false
strip = "symbols"
[dev-dependencies]
criterion = { version = "0.8", features = ["html_reports", "async_tokio"] }
[[bench]]
name = "ip_benchmarks"
path = "benches/ip_benchmarks.rs"
harness = false