Rust Encoding

Open-source Rust projects categorized as Encoding
Rust Serde JSON XML YAML

Top 23 Rust Encoding Projects

  1. serde

    Serialization framework for Rust

    Project mention: Rusty Backends | dev.to | 2025-01-20

    If the request parameter cannot be parsed, the appropriate response code is sent instead of calling the function, so we have the usual comfort of type safety. Request bodies are handled very similarly, and of course, parsing integrates seamlessly with serde.

  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. json

    Strongly typed JSON library for Rust (by serde-rs)

    Project mention: Parsing JSON in 500 lines of Rust | news.ycombinator.com | 2025-02-18

    I have to commend on the simplicity and clarity of thought in the write up. I could see what you were up to just by a skim through it (also thanks for the ready reference)!

    I'm pretty sure you'd already know of this, but once you've written your own version, it might help to compare and take notes from a popular, well-established, benchmarked library: https://github.com/serde-rs/json.

  4. bincode

    A binary encoder / decoder implementation in Rust.

    Project mention: Build "For you" recommendations using AI on Fastly! | dev.to | 2024-08-07

    Now we have 500 small datasets and an index that maps centroid points to the relevant dataset. Next, to enable real-time performance, we want to precompile search graphs so that we don't need to initialize and construct them at runtime, and can use as little CPU time as possible. A really fast nearest-neighbor algorithm is Hierarchical Navigable Small Worlds (HNSW), and it has a pure Rust implementation, which we're using to write our edge app. So we wrote a small standalone Rust app to construct the HNSW graph structs for each dataset, and then used bincode to export the memory of the instantiated struct into a binary blob.

  5. html5ever

    High-performance browser-grade HTML5 parser

  6. msgpack-rust

    MessagePack implementation for Rust / msgpack.org[Rust]

  7. byteorder

    Rust library for reading/writing numbers in big-endian and little-endian.

    Project mention: Jiff: A brand new Datetime library for Rust, from the builder of ripgrep | news.ycombinator.com | 2024-07-21

    Burntsushi has written many important crates in the Rust ecosystem. He started with licensing under Unlicense exclusively, until people requested a dual license with MIT. See this issue from 2016 for more details - https://github.com/BurntSushi/byteorder/issues/26

    Almost all of the Rust ecosystem is dual licensed under MIT/Apache 2.0, so this combination is a bit unusual. But the presence of MIT means that it hasn’t been a problem in practice.

  8. ImHex-Patterns

    Hex patterns, include patterns and magic files for the use with the ImHex Hex Editor

    Project mention: A Hex Editor for Reverse Engineers | news.ycombinator.com | 2024-06-29

    You can download additional assets in the settings and then interpret data as encoded in various formats. I don't see CP437 in the list but the file format for encodings is straightforward, you can probably create a mapping easily.

    https://github.com/WerWolv/ImHex-Patterns/tree/master/encodi...

  9. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  10. pikkr

    JSON parser which picks up values directly without performing tokenization in Rust

  11. yaml-rust

    A pure rust YAML implementation.

  12. json-rust

    JSON implementation in Rust

  13. xml-rs

    An XML library in Rust

  14. encoding_rs

    A Gecko-oriented implementation of the Encoding Standard in Rust

  15. rust-lexical

    Fast numeric to- and from-string conversion routines.

  16. sxd-document

    An XML library in Rust

  17. rust-cbor

    CBOR (binary JSON) for Rust with automatic type based decoding and encoding.

  18. rsbkb

    CLI tools: encoders/decoders, CTF and reverse engineering helpers.

  19. sxd-xpath

    An XPath library in Rust

  20. hjson-rust for serde

    Hjson for Rust

  21. rust-asn1

    A Rust ASN.1 (DER) serializer.

  22. RustyXML

    A XML parser written in Rust

  23. pem-rs

  24. Base256

    Encode and decode data in base 256 easily typed words

  25. rust-htmlescape

    A HTML entity encoding library for Rust

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Encoding discussion

Log in or Post with

Rust Encoding related posts

  • Comfy, the 2D rust game engine, is now archived

    3 projects | news.ycombinator.com | 9 Sep 2024
  • Build "For you" recommendations using AI on Fastly!

    3 projects | dev.to | 7 Aug 2024
  • Jiff: A brand new Datetime library for Rust, from the builder of ripgrep

    16 projects | news.ycombinator.com | 21 Jul 2024
  • Scan HTML even faster with SIMD instructions (C++ and C#)

    4 projects | news.ycombinator.com | 20 Jul 2024
  • Empowering Web Privacy with Rust: Building a Decentralized Identity Management System

    3 projects | dev.to | 9 Apr 2024
  • What even is a JSON number?

    4 projects | news.ycombinator.com | 1 Apr 2024
  • Serde-YAML for Rust has been archived

    2 projects | news.ycombinator.com | 26 Mar 2024
  • A note from our sponsor - Nutrient
    www.nutrient.io | 19 Feb 2025
    Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries. Learn more →

Index

What are some of the best open-source Encoding projects in Rust? This list will help you:

# Project Stars
1 serde 9,429
2 json 5,048
3 bincode 2,796
4 html5ever 2,202
5 msgpack-rust 1,216
6 byteorder 1,003
7 ImHex-Patterns 723
8 pikkr 633
9 yaml-rust 614
10 json-rust 569
11 xml-rs 462
12 encoding_rs 397
13 rust-lexical 316
14 sxd-document 154
15 rust-cbor 135
16 rsbkb 125
17 sxd-xpath 121
18 hjson-rust for serde 107
19 rust-asn1 104
20 RustyXML 103
21 pem-rs 55
22 Base256 51
23 rust-htmlescape 42

Sponsored
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

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