Displaying 1 to 20 from 22 results

serde - Serialization framework for Rust

  •    Rust

Serde is a framework for serializing and deserializing Rust data structures efficiently and generically. Serde developers live in the #serde channel on irc.mozilla.org. The #rust channel is also a good resource with generally faster response time but less specific knowledge about Serde. If IRC is not your thing or you don't get a good response, we are happy to respond to GitHub issues as well.

avsc - Avro for JavaScript :zap:

  •    Javascript

Pure JavaScript implementation of the Avro specification. avsc is compatible with all versions of node.js since 0.11 and major browsers via browserify (see the full compatibility table here). For convenience, you can also find compiled distributions with the releases (but please host your own copy).

json - Strongly typed JSON library for Rust

  •    Rust

Serde is a framework for serializing and deserializing Rust data structures efficiently and generically. JSON is a ubiquitous open-standard format that uses human-readable text to transmit data objects consisting of key-value pairs.

msgpack-rust - MessagePack implementation for Rust / msgpack.org[Rust]

  •    Rust

RMP is a pure Rust MessagePack implementation. This repository consists of three separate crates: the RMP core and two implementations to ease serializing and deserializing Rust structs.




calamine - A pure Rust Excel/OpenDocument SpeadSheets file reader: rust on metal sheets

  •    Rust

An Excel/OpenDocument Spreadsheets file reader/deserializer, in pure Rust. Browse the examples directory.

hyper_serde - Serde support for Hyper types

  •    Rust

This crate provides wrappers and convenience functions to support Serde for some types defined in cookie, Hyper, mime and time. For more details, see the crate documentation.

serde_urlencoded - x-www-form-urlencoded meets Serde

  •    Rust

This crate is a Rust library for serialising to and deserialising from the application/x-www-form-urlencoded format. It is built upon Serde, a high performance generic serialization framework and rust-url, a URL parser for Rust. Serde developers live in the #serde channel on irc.mozilla.org and most rust-url developers live in the #servo one. The #rust channel is also a good resource with generally faster response time but less specific knowledge about Serde, rust-url or this crate. If IRC is not your thing, we are happy to respond to GitHub issues as well.

envy - deserialize env vars into typesafe structs with rust

  •    Rust

assuming your rust program looks something like this. You should be able to access a completely typesafe config struct deserialized from env vars.


elixir-thrift - Thrift Utilities for Elixir

  •    Elixir

This package contains an implementation of Thrift for Elixir. It includes a Thrift IDL parser, a code generator, a binary framed client and a binary framed server. The serialization and deserialization code that is generated by this project is highly optimized and is between 10 and 25 times fasterwhy? than the code generated by the Apache Erlang implementation.

accord - Data validation library for Rust

  •    Rust

Accord is a library for validating data according to rules like length, contains, range and either. Accord is two fold, the first part being a set of validator-functions that for example tests that a String has a minimum of 5 characters or that an i32 is either 10 or 20, and the second part being the rules! macro which allows you to run a set of validators on a single piece of data, or a whole collection of data and get back a set of errors which explains exactly what is wrong. The errors can easily be serialized using Serde and then be used in for example a REST API to report to the user which of the data the user posted contains illegal values.

hyperjson - A hyper-fast Python module for reading/writing JSON data using Rust's serde-json.

  •    Python

Parsing JSON is a solved problem. So, no need to reinvent the wheel, right? Unless you care about performance and safety. Turns out, parsing JSON correctly is hard, but due to Rust, the risk of running into stack overflows or segmentation faults is lower (basically zero, especially in comparison to C implementations).

serde-xml-rs - xml-rs based deserializer for Serde (compatible with 1.0+)

  •    Rust

Alternatively, you can use serde_xml_rs::Deserializer to create a deserializer from a preconfigured xml_rs::EventReader. Deserializer tries to be as intuitive as possible.

json-benchmark - nativejson-benchmark in Rust

  •    C++

To update the numbers above, I run ./json-benchmark -n 256 twice on an otherwise idle computer and take the least of the two results for each number. For comparison, here are results from RapidJSON on the same hardware with the nativejson-benchmark modified to run 256 times instead of 10.

erased-serde - Type-erased Serialize, Serializer and Deserializer traits

  •    Rust

This crate provides type-erased versions of Serde's Serialize, Serializer and Deserializer traits that can be used as trait objects. The usual Serde Serialize, Serializer and Deserializer traits cannot be used as trait objects like &Serialize or boxed trait objects like Box<Serialize> because of Rust's "object safety" rules. In particular, all three traits contain generic methods which cannot be made into a trait object.

serde-ignored - Find out about keys that are ignored when deserializing data

  •    Rust

Find out about keys that are ignored when deserializing data. This crate provides a wrapper that works with any existing Serde Deserializer and invokes a callback on every ignored field. You can use this to warn users about extraneous keys in a config file, for example.

serde-yaml - Strongly typed YAML library for Rust

  •    Rust

This crate is a Rust library for using the Serde serialization framework with data in YAML file format. This library does not reimplement a YAML parser; it uses yaml-rust which is a pure Rust YAML 1.2 implementation.

serde-bencode - Serde backed Bencode encoding/decoding library for Rust.

  •    Rust

A Serde backed Bencode encoding/decoding library for Rust. This is an abbreviated .torrent parsing example from examples/parse_torrent.rs. If you compile this crate as a binary, it will print metadata for any Torrent sent to stdin.

serde-wasm-bindgen - Native integration of Serde with wasm-bindgen

  •    Rust

This is an alternative native integration of Serde with wasm-bindgen. This library was created to address rustwasm/wasm-bindgen#1258 and provide a native Serde integration for wasm-bindgen to directly convert values between JavaScript and Rust (compiled to WebAssembly).

hjson-rust - Hjson for Rust

  •    Rust

The Rust implementation of Hjson is based on the Serde JSON Serialization Library. For other platforms see hjson.org. This crate is a Rust library for parsing and generating Human JSON Hjson. It is built upon Serde, a high performance generic serialization framework.