ntp-parser
alexandrie
Our great sponsors
ntp-parser | alexandrie | |
---|---|---|
1 | 4 | |
18 | 476 | |
- | - | |
0.0 | 7.7 | |
over 2 years ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ntp-parser
-
Hey Rustaceans! Got an easy question? Ask here (9/2021)!
Well nom does list out examples on the readme page, though many are probably for older versions of nom. I clicked through a couple and it looks like ntp is up to date with nom 6.0. The last full parser I wrote using nom was in v4.0 days, which was more macro-oriented than current nom. Since what you pass nom is slices of data, you will basically be reading from a file into a buffer, and calling your parsing functions on that. If it returns an error indicating it is incomplete, just read in another chunk of data into your buffer and try again.
alexandrie
-
How do you share your corporate crates?
Alexandrie
-
Locally hosted crate registry
I used https://github.com/Hirevo/alexandrie for a little while, and it worked well
-
Run crates.io and package proxy locally
There's also https://github.com/Hirevo/Alexandrie
- Hey Rustaceans! Got an easy question? Ask here (9/2021)!
What are some alternatives?
serde - Serialization framework for Rust
ktra - Your Little Cargo Registry
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
cargo-limit - Productivity improvements for Rust ecosystem: warnings are skipped until errors are fixed, LSP-independent Neovim integration, etc.
tail - My implementation of the tail tool to (continuously) read the tail end of a file. See https://en.wikipedia.org/wiki/Tail_(Unix)
x11rb - X11 bindings for the rust programming language, similar to xcb being the X11 C bindings
rust-ffi-omnibus - A collection of examples of using code written in Rust from other languages
unsafe-code-guidelines - Forum for discussion about what unsafe code can and can't do
meuse - A private Cargo crate registry, for Rust
erased-serde - Type-erased Serialize, Serializer and Deserializer traits