rutenspitz
А procedural macro to be used for testing/fuzzing stateful models against a semantically equivalent but obviously correct implementation (by jakubadamw)
json
Strongly typed JSON library for Rust (by serde-rs)
rutenspitz | json | |
---|---|---|
6 | 41 | |
77 | 4,553 | |
- | 1.8% | |
2.2 | 8.7 | |
about 1 year ago | 5 days ago | |
Rust | Rust | |
MIT License | 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.
rutenspitz
Posts with mentions or reviews of rutenspitz.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-10.
-
Bridging Fuzzing and Property Testing
Inline documentation is lacking, but the README and the examples show it off reasonably well.
-
Writing a HashMap in Rust without unsafe
Also! You might want to verify the correctness of your implementation against some reference implementation - e.g. indexmap, or just an inefficient but obviously correct HashMap + Vec combination. https://github.com/jakubadamw/rutenspitz makes this very easy, and it did discover a few logic bugs in tinyvec, so I recommend giving it a go!
-
Announcing flashmap: a blazing fast, concurrent hash map
https://github.com/jakubadamw/rutenspitz allows comparing your implementation against a slower, reference implementation using a fuzzer. Might be helpful for correctness, but is not really useful for testing concurrency, as far as I can tell.
-
Unsafe Rust: How and when (not) to use it - LogRocket Blog
There's also https://github.com/jakubadamw/rutenspitz that is already usable, but I'm not aware of it being widely deployed.
-
fast-float - a super-fast float parser in Rust
By the way, https://github.com/rust-fuzz/auto-fuzz-test and/or https://github.com/jakubadamw/rutenspitz will help mitigate that, if anyone is willing to apply them.
json
Posts with mentions or reviews of json.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-01.
-
What even is a JSON number?
Oh wow. So serde_json doesn't roundtrip floats by default, it uses some imprecise faster algorithm https://github.com/serde-rs/json/issues/707
Good thing there's msgpack I guess.
-
I pre-released my project "json-responder" written in Rust
tokio / hyper / toml / serde / serde_json / json5 / console
-
Flow Updater JSON Creator
Serde JSON, an extension of the serde crate that enables the serialization and deserialization of Rust structs.
-
A Simple CRUD API in Rust with Cloudflare Workers, Cloudflare KV, and the Rust Router
To serialize and deserialize data, we'll employ the popular serde crate along with serde_json. This will allow us to easily convert between Rust types and JSON when working with API requests and responses. For async operations we'll use the Rust futures crate.
- Rust devs push back as Serde project ships precompiled binaries
-
Building a Rust app with Perseus
From the Cargo.toml file above, we can see that the Perseus version at the time of publication is 0.4.2 and has the following dependencies that are common to both the engine side (server-side) and client side of a Perseus application: sycamore, serde, and serde_json.
-
REST API in RUST with ntex
serde_json
-
Müsli - An experimental binary serialization framework with more choice
Number parsing uses a fairly naive but uses a lossless algorithm in musli-json. In serde_json they use a fork of lexical I haven't wrapped my head around. I wanted something simple to start with.
-
How can I deserialise this value?
Your best best would be to use an enum. Either your own or something like the one from serde_json depending on what you are trying to do.
-
Spotting and Avoiding Heap Fragmentation in Rust Apps
Don't do that if you care about memory usage. In your toy program, I wouldn't be surprised if memory usage was a lot better if you used Box instead. (even if it doesn't look like it, you can handle almost all the use cases of serde_json::Value with it, often not much less convenient)
What are some alternatives?
When comparing rutenspitz and json you can also consider the following projects:
cargo-fuzz - Command line helpers for fuzzing
serde - Serialization framework for Rust
fast-float-rust - Super-fast float parser in Rust (now part of Rust core)
json-rust - JSON implementation in Rust
roxmltree - Represent an XML document as a read-only tree.
hjson-rust for serde - Hjson for Rust
pikkr - JSON parser which picks up values directly without performing tokenization in Rust
serde-yaml - Strongly typed YAML library for Rust
RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API
rust-bencode - Implementation of Bencode encoding written in rust
rust-asn1 - A Rust ASN.1 (DER) serializer.