11 unstable releases

0.6.0 Sep 13, 2021
0.5.0 Nov 12, 2020
0.4.0 Jul 29, 2019
0.3.0 Jan 20, 2019
0.1.2 Nov 16, 2016

#1217 in Network programming

Download history 2694/week @ 2023-12-11 1536/week @ 2023-12-18 1012/week @ 2023-12-25 1672/week @ 2024-01-01 1938/week @ 2024-01-08 3029/week @ 2024-01-15 2504/week @ 2024-01-22 2548/week @ 2024-01-29 3336/week @ 2024-02-05 3579/week @ 2024-02-12 2798/week @ 2024-02-19 3391/week @ 2024-02-26 2269/week @ 2024-03-04 2409/week @ 2024-03-11 3210/week @ 2024-03-18 1559/week @ 2024-03-25

9,546 downloads per month
Used in suricata

MIT/Apache

14KB
262 lines

ntp-parser

License: MIT Apache License 2.0 Build Status Crates.io Version

Overview

ntp-parser is a parser for the NTP protocol.

This crate mostly serves as a demo/example crate for network protocol parsers written using nom, and nom-derive.

Changes

0.6.0

  • Upgrade to nom 7

0.5.0

  • Upgrade to nom 6
  • Convert all macro-based parsers to functions
  • Convert to nom-derive
  • Add support for NTP version 3, update function names to match version

0.4.0

  • Set edition to 2018
  • Upgrade to nom 5

0.3.0

  • Upgrade to nom 4

0.2.1

  • Fix parsing of extensions

0.2.0

  • Use newtype for NtpMode, remove enum_primitive
  • Switch license to MIT + APLv2

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2.5MB
~51K SLoC