forked from pendulum-project/ntpd-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
80 lines (70 loc) · 2.17 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[workspace]
members = [
"ntp-daemon",
"ntp-ctl",
"ntp-metrics-exporter",
"ntp-proto",
"ntp-os-clock",
"ntp-udp",
"test-binaries",
"ntpd"
]
exclude = [ ]
# Without the `-p` flag, cargo ignores `--no-default-features` when you have a
# workspace, and without `resolver = "2"` here, you can't use `-p` like this.
resolver = "2"
# Global settings for our crates
[workspace.package]
version = "0.3.6"
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/pendulum-project/ntpd-rs"
homepage = "https://github.com/pendulum-project/ntpd-rs"
readme = "./README.md"
description = "Full-featured implementation of NTP with NTS support"
publish = true
[workspace.metadata.release]
sign-commit = true
sign-tag = true
shared-version = true
consolidate-commits = true
tag = false
# Because of the async runtime, we really want panics to cause an abort, otherwise
# the binary can keep on running as a ghost
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
strip = "debuginfo"
[workspace.dependencies]
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["std", "fmt", "ansi", "registry", "env-filter"] }
serde = { version = "1.0.173", features = ["derive"] }
serde_json = "1.0.103"
rand = "0.8.5"
arbitrary = { version = "1.3.0" }
thiserror = "1.0.43"
libc = "0.2.147"
tokio = "1.29.1"
toml = "0.7.6"
clap = { version = "4.3.11", features = ["derive", "env"] }
async-trait = "0.1.71"
# our own crates used as dependencies, same version as the workspace version
ntp-ctl = { version = "0.3.6", path = "./ntp-ctl" }
ntp-daemon = { version = "0.3.6", path = "./ntp-daemon" }
ntp-metrics-exporter = { version = "0.3.6", path = "./ntp-metrics-exporter" }
ntp-os-clock = { version = "0.3.6", path = "./ntp-os-clock" }
ntp-proto = { version = "0.3.6", path = "./ntp-proto" }
ntp-udp = { version = "0.3.6", path = "./ntp-udp" }
# prometheus support
prometheus-client = "0.21.2"
# TLS
rustls = "0.21.2"
rustls-pemfile = "1.0.3"
rustls-native-certs = "0.6.3"
# crypto
aead = "0.5.2"
aes-siv = "0.7.0"
# Note: md5 is needed to calculate ReferenceIDs for IPv6 addresses per RFC5905
md-5 = "0.10.5"
zeroize = "1.6.0"