-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
62 lines (55 loc) · 1.9 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
56
57
58
59
60
61
62
[package]
name = "dness"
version = "0.5.7"
authors = ["Nick Babcock <[email protected]>"]
description = "a dynamic dns client"
homepage = "https://github.com/nickbabcock/dness"
repository = "https://github.com/nickbabcock/dness"
publish = false
readme = "README.md"
license = "MIT"
edition = "2018"
[dependencies]
hickory-resolver = { version = "0.24.2", features = ["tokio-runtime"] }
reqwest = { version = "0.12", default-features = false, features = ["json"] }
serde_json = "1.0"
toml = "0.8"
chrono = "0.4"
tokio = { version = "1", features = ["macros"] }
openssl = { version = '0.10', optional = true }
handlebars = "6.1"
clap = { version = "4.4.6", features = ["derive"] }
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.log]
version = "0.4"
features = ["serde"]
[features]
default = ["reqwest/default-tls", "hickory-resolver/dns-over-native-tls"]
vendored-openssl = ["openssl/vendored"]
rustls = ["reqwest/rustls-tls", "hickory-resolver/dns-over-rustls"]
# Disable logging timestamp info (ie: the humantime feature) as mechanisms like
# systemd / journald will show the timestamp that received the log line at.
# Ideally, log formatting should be configurable, but this is a good first step
[dependencies.env_logger]
version = "0.11"
default-features = false
features = ["color", "auto-color", "regex"]
[dev-dependencies]
assert_cmd = "2.0"
rouille = "3"
[package.metadata.deb]
extended-description = """dness is a command line dynamic dns client"""
section = "utility"
priority = "optional"
features = ["vendored-openssl"]
provides = "dness"
conflicts = "dness-musl"
assets = [
["target/release/dness", "usr/bin/dness", "755"],
["assets/bare-config.toml", "etc/dness/dness.conf", "644"],
["assets/dness.service", "etc/systemd/system/dness.service", "644"],
["assets/dness.timer", "etc/systemd/system/dness.timer", "644"]
]
conf-files = ["/etc/dness/dness.conf", "/etc/dness/dness.env"]