Cargo Features

[dependencies]
ntpd = { version = "1.4.0", default-features = false, features = ["hardware-timestamping", "unstable_ntpv5", "unstable_nts-pool", "rustls23", "rustls22", "rustls21", "run_tokio_rustls_tests"] }
default = rustls23

The rustls23 feature is set by default whenever ntpd is added without default-features = false somewhere in the dependency tree.

hardware-timestamping

Affects config::Config.clock

unstable_ntpv5

Enables ntpv5 of ntp-proto

Affects ntp_source::StandardSource.ntp_version, ntp_source::NtsSourceConfig.ntp_version, ntp_source::PoolSourceConfig.ntp_version, ntp_source::NtsPoolSourceConfig.ntp_version

unstable_nts-pool

Enables rustls, nts-pool of ntp-proto

Affects ntp_source::NtsPoolSourceConfig, server::NtsKeConfig.authorized_pool_server_certificates, spawn::nts_pool

rustls23 default run_tokio_rustls_tests?

Enables rustls23 of ntp-proto

rustls22

Enables rustls22 of ntp-proto

rustls21

Enables rustls21 of ntp-proto

run_tokio_rustls_tests = rustls23

Enables tokio-rustls