#protocol #network #time #parser #binary

ntp

Library for parsing and communicating over Network Time Protocol

8 releases (4 breaking)

0.5.0 Jun 29, 2018
0.4.0 Oct 26, 2017
0.3.1 Oct 21, 2017
0.3.0 Jul 12, 2017
0.1.1 Feb 23, 2017

#3 in Date and time

Download history 650/week @ 2018-05-06 1190/week @ 2018-05-13 1005/week @ 2018-05-20 690/week @ 2018-05-27 1238/week @ 2018-06-03 1550/week @ 2018-06-10 1022/week @ 2018-06-17 991/week @ 2018-06-24 988/week @ 2018-07-01 1225/week @ 2018-07-08 1254/week @ 2018-07-15 979/week @ 2018-07-22 395/week @ 2018-07-29

4,521 downloads per month

Ntplib

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.

MIT/Apache-2.0 license

Dependencies

Reverse deps