forked from pendulum-project/ntpd-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
64 lines (56 loc) · 1.79 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
[workspace]
members = [
"ntp-proto",
"nts-pool-ke",
"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 = "1.1.2"
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
rust-version = "1.67" # MSRV
# 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"
debug = 2
[workspace.dependencies]
tracing = "0.1.21"
tracing-subscriber = { version = "0.3.0", default-features = false, features = ["std", "fmt", "ansi"] }
serde = { version = "1.0.145", features = ["derive"] }
serde_json = "1.0"
serde_test = "1.0.176"
rand = "0.8.0"
arbitrary = { version = "1.0" }
libc = "0.2.145"
tokio = "1.32"
toml = { version = ">=0.5.0,<0.9.0", default-features = false, features = ["parse"] }
async-trait = "0.1.22"
timestamped-socket = "0.2.1"
clock-steering = "0.2.0"
# TLS
rustls = "0.22.0"
rustls-pemfile = "2.0"
rustls-native-certs = "0.7.0"
tokio-rustls = "0.25.0" # testing only
# crypto
aead = "0.5.0"
aes-siv = "0.7.0"
# Note: md5 is needed to calculate ReferenceIDs for IPv6 addresses per RFC5905
md-5 = "0.10.0"
zeroize = "1.5"
# our own crates used as dependencies, same version as the workspace version
# NOTE: keep this part at the bottom of the file, do not change this line
ntp-proto = { version = "1.1.2", path = "./ntp-proto", features = ["__internal-api"] }