7 repository-uri
Serialization libraries specifically designed for the Rust ecosystem.
Distinct from Serialization Frameworks: Distinct from Serialization Frameworks: focuses on Rust-specific macro-based interfaces and compile-time generation.
Explore 7 awesome GitHub repositories matching data & databases · Rust. Refine with filters or upvote what's useful.
This project is a framework for the efficient serialization and deserialization of data structures. It provides a unified, macro-based interface that automates the conversion of complex internal objects into standardized formats and reconstructs them from raw input streams or buffers. By leveraging compile-time code generation, the library minimizes manual implementation overhead while ensuring consistent logic across diverse data types. The framework distinguishes itself through a format-agnostic data model and a visitor-based parsing architecture that decouples data structures from specific
Provides a unified, macro-based interface for efficiently serializing and deserializing Rust data structures into various formats.
orjson is a high-performance Python library for serializing and deserializing JSON data. It functions as both a JSON parsing library and a serialization engine, converting data between native Python objects and UTF-8 encoded bytes. The project provides specialized support for converting complex Python data structures, including dataclasses, datetime objects, and NumPy arrays and scalars, into JSON format. It also allows for the insertion of pre-serialized JSON blobs into documents to maintain processing speed. The library includes capabilities for memory-efficient deserialization through key
Provides a high-performance serialization engine implemented in Rust.
This is a Rust serialization library for converting data structures to and from JSON strings and byte streams. It is built as a framework within the Serde ecosystem, providing both a strongly typed parser for compile-time safety and a recursive value tree for manipulating JSON data without a predefined schema. The project supports both typed and untyped processing. It can map JSON data into specific Rust types for schema conformity or parse input into a flexible, schemaless representation. It also includes macro-based utilities for the dynamic construction of JSON objects.
Provides a high-performance JSON serialization framework specifically designed for the Rust ecosystem.
RON este un format de serializare a datelor bazat pe text și o bibliotecă concepută pentru a oglindi sintaxa Rust. Acesta servește ca o alternativă puternic tipizată la formate precum JSON și TOML, fiind optimizat special pentru reprezentarea structurilor de date complexe și a fișierelor de configurare în proiectele Rust. Formatul păstrează idiomurile interne ale limbajului prin suportul pentru nume explicite de structuri, enum-uri și sufixe de tip. Se distinge prin utilizarea bazelor numerice specializate și capacitatea de a include comentarii inline în datele serializate. Biblioteca oferă capabilități atât pentru serializarea, cât și pentru deserializarea tipurilor imbricate, inclusiv map-uri, liste și tupluri. Include instrumente pentru pretty-printing configurabil, raportarea erorilor de sintaxă cu mapare la sursă și capacitatea de a transmite conținutul serializat direct către IO writers.
Designed as a serialization library specifically for the Rust ecosystem to facilitate data exchange.
rinf is a cross-platform native bridge and integration layer used to connect business logic written in Rust to application frontends. It functions as a cross-language message broker and binary serialization framework that enables the exchange of structured data between a Rust backend and user interfaces across mobile, desktop, and web targets. The project utilizes a schema-driven code generator to produce language-specific message classes from shared definitions. This ensures type-safe message passing and consistency across different programming environments, preventing data mismatches during
Implements a serialization framework specifically for the Rust ecosystem to exchange structured data with other languages.
Această bibliotecă este un framework declarativ de validare pentru Rust care impune integritatea datelor și regulile de business asupra modelelor de date structurate. Utilizează macro-uri procedurale pentru a transforma adnotările bazate pe atribute în logică de validare executabilă, asigurându-se că structurile de date respectă constrângerile definite înainte de procesare. Framework-ul se distinge prin efectuarea validării la momentul compilării, ceea ce elimină overhead-ul de runtime și oferă verificare strictă a tipurilor pentru toate regulile. Suportă parcurgerea recursivă a structurilor de date imbricate și a colecțiilor, asigurându-se că fiecare nivel al unei ierarhii este verificat. Dincolo de constrângerile pe câmpuri individuale, sistemul oferă hook-uri pentru verificări de consistență între câmpuri și permite integrarea unor funcții personalizate specifice domeniului pentru a gestiona cerințe complexe de business. Biblioteca oferă o interfață unificată pentru implementarea rutinelor de validare personalizate în diverse structuri de date. Este distribuită ca un crate cu documentație care acoperă aplicarea atributelor declarative pentru a impune formate, intervale și integritate structurală.
Enforces data integrity and business rules on Rust data structures using declarative attributes and custom validation logic.
Fluent-validator is a Java validation framework designed to enforce data integrity through declarative constraints and automated service-layer checks. It provides a structured environment for defining validation logic that integrates with the JSR 303 specification, allowing developers to maintain consistent data quality across complex object hierarchies and application boundaries. The framework distinguishes itself through a fluent interface that enables the orchestration of validation chains, allowing for readable and maintainable rule sequences. It supports advanced execution control, inclu
Supports declarative validation using annotations on class fields to trigger automatic checks.