erased-serde
Type-erased Serialize, Serializer and Deserializer traits (by dtolnay)
ntp-parser
NTP parser written in rust with nom (by rusticata)
erased-serde | ntp-parser | |
---|---|---|
4 | 1 | |
622 | 18 | |
- | - | |
8.2 | 0.0 | |
about 1 month ago | over 2 years ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
erased-serde
Posts with mentions or reviews of erased-serde.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-02.
-
Trait object with generic funtion: don't understand how to do it
Have you tried something like this?
-
Announcing Valuable, a library for object-safe value inspection
Valuable can complement Serde as Serde's serialization API is not trait-object safe due to the trait's associated types (erased-serde exists to work around the problem but requires allocating for each nested data structure).
-
Storing vector of deserializable trait
Try https://github.com/dtolnay/erased-serde instead of just the default serde traits
-
Hey Rustaceans! Got an easy question? Ask here (9/2021)!
B. erased-serde
ntp-parser
Posts with mentions or reviews of ntp-parser.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-01.
-
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.
What are some alternatives?
When comparing erased-serde and ntp-parser you can also consider the following projects:
serde - Serialization framework for Rust
rust-ffi-omnibus - A collection of examples of using code written in Rust from other languages
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
minimax-rs - A generic implementation of Negamax in Rust.
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
alexandrie - An alternative crate registry, implemented in Rust.
unsafe-code-guidelines - Forum for discussion about what unsafe code can and can't do
erased-serde vs serde
ntp-parser vs serde
erased-serde vs rust-ffi-omnibus
ntp-parser vs tokio
erased-serde vs minimax-rs
ntp-parser vs tail
erased-serde vs x11rb
ntp-parser vs x11rb
erased-serde vs alexandrie
ntp-parser vs unsafe-code-guidelines
erased-serde vs unsafe-code-guidelines
ntp-parser vs rust-ffi-omnibus