-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
34 lines (31 loc) · 1.1 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
[package]
name = "drophost"
version = "0.4.2"
edition = "2021"
license = "MIT"
description = "A simple drop-in based /etc/hosts manager"
readme = "readme.md"
authors = ["Kodi Craft <[email protected]>"]
repository = "https://github.com/KodiCraft/drophost"
keywords = ["hosts", "drop-in", "dns", "networking"]
categories = ["network-programming"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.5.23", features = ["derive"] }
log = "0.4.22"
nix = "0.29.0"
oping = { version = "0.4.0", optional = true }
iprange = { version = "0.6.7", optional = true }
network-interface = { version = "2.0.0", optional = true }
ipnet = { version = "2.10.1", optional = true }
tokio = { version = "1.42.0", features = ["macros", "rt", "rt-multi-thread"] }
notify = "7.0.0"
once_cell = "1.20.2"
env_logger = "0.11.5"
backtrace = { version = "0.3.74", optional = true, features = ["std"] }
[features]
default = []
ping = ["dep:oping"]
range = ["dep:iprange", "dep:network-interface", "dep:ipnet"]
interface = ["dep:network-interface"]
backtrace = ["dep:backtrace"]