Surprises in the Rust JSON Ecosystem

This page summarizes the projects mentioned and recommended in the original post on /r/rust

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. stdweb

    A standard library for the client-side Web

    But, I wish devs would atleast archive the repo and put a "NOT-MAINTAINED" notice in the readme. one of my surprises was stdweb crate with 150k+ downloads per month being dead for three years eg: https://github.com/koute/stdweb/issues/403

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. roxmltree

    Represent an XML document as a read-only tree.

    In regards to the benchmarks, It makes sense to measure serializing/deserializing for parser crates. but since we are talking about dom implementations, metrics like traversal/iteration speed or insert/modification performance would be useful. a good example is roxmltree crate (readonly xml dom) which benches traversal/iteration performance and shows that by only focusing on readonly usecases, it gains substantial performance gains.

  4. hifijson

    High-fidelity JSON lexer and parser

    I have recently encountered similar problems as you and also created a JSON crate, hifijson. Its unique idea is that JSON parsing itself is not so hard, but JSON lexing is! Therefore, my crate provides a JSON lexer that you can use to create your custom JSON parser with any functionality you need. For example, this allows you to ignore escape sequences, giving you a &str for strings. Or, if you care about escape sequences, hifijson gives you a Cow similarly to serde_json, allocating new memory only if necessary.

  5. jaq

    A jq clone focussed on correctness, speed, and simplicity

    Just yesterday, I started work on replacing serde_json in my project jaq by hifijson, which cut JSON loading time in half! The downside of hifijson is that documentation is still TODO. But I intend to work on this as soon as I have a prototype of jaq with hifijson working.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ask HN: Why are we not building web browsers?

    1 project | news.ycombinator.com | 22 Dec 2024
  • Setting up the Environment and Hello world in WASM with Rust 🦀

    1 project | dev.to | 24 Jul 2024
  • Surprisingly Powerful – Serverless WASM with Rust Article 1

    5 projects | dev.to | 27 Apr 2024
  • Show HN: Game of Life with grid editor in browser with Rust and WASM

    2 projects | news.ycombinator.com | 13 Dec 2023
  • Recreating the Apple Calculator in Rust using Tauri, Yew and Tailwind

    1 project | dev.to | 30 Nov 2023

Did you know that Rust is
the 5th most popular programming language
based on number of references?