Skip to main content

Crate ntp_server

Crate ntp_server 

Source
Expand description

NTP server library with tokio/smol runtime support and NTS-KE.

This crate provides NTPv4 server implementations using either the tokio or smol async runtimes, with optional NTS (Network Time Security) support.

Modulesยง

error
Custom error types for buffer-based NTP packet parsing and serialization. Custom error types for buffer-based NTP packet parsing and serialization.
extension
NTP extension field parsing and NTS extension types. NTP extension field parsing and NTS (Network Time Security) extension types.
protocol
NTP protocol types and constants (RFC 5905). Types and constants that precisely match the specification.
unix_time
Unix time conversion utilities for NTP timestamps.