Cargo Features

[dependencies]
ntpd = { version = "1.5.0", default-features = false, features = ["hardware-timestamping", "unstable_ntpv5", "unstable_nts-pool", "pps"] }
default = pps

The pps 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 nts-pool of ntp-proto

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

pps default

Enables pps-time

Affects spawn::pps, spawn::PpsSourceCreateParameters