ntp icon indicating copy to clipboard operation
ntp copied to clipboard

A simple library to send ntp requests and receive responses

Ntplib

Build Status Documentation Crates.io License

An ntp packet parsing library written in Rust.

Usage

Add this to your Cargo.toml:

[dependencies]
ntp = "0.5"

and this to your crate root:

extern crate ntp;

Todo

  • [ ] no-std
  • [ ] io independent parsing
  • [ ] async support
  • [ ] setting clocks
  • [ ] ntp server functionality

Contributions

Pull Requests and Issues welcome!

License

ntp is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.