7 个仓库
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 是一种基于文本的数据序列化格式和库,旨在模仿 Rust 语法。它作为 JSON 和 TOML 等格式的强类型替代方案,专门针对 Rust 项目中复杂数据结构和配置文件的表示进行了优化。 该格式通过支持显式的结构体名称、枚举和类型后缀来保留内部语言习惯。它通过使用专门的数字基数以及在序列化数据中包含内联注释的能力而脱颖而出。 该库提供了嵌套类型(包括映射、列表和元组)的序列化和反序列化功能。它包括用于可配置的格式化输出、针对语法错误的源映射错误报告,以及将序列化内容直接流式传输到 IO 写入器的能力。
Provides a serialization library specifically designed for the Rust ecosystem to convert complex structures to readable text.
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.
该库是一个用于 Rust 的声明式验证框架,用于在结构化数据模型上强制执行数据完整性和业务规则。它利用过程宏将基于属性的注解转换为可执行的验证逻辑,确保数据结构在处理前符合定义的约束。 该框架通过在编译时执行验证而脱颖而出,这消除了运行时开销并为所有规则提供了严格的类型检查。它支持嵌套数据结构和集合的递归遍历,确保层次结构的每一层都经过验证。除了单个字段约束外,系统还提供用于跨字段一致性检查的钩子,并允许集成自定义领域特定函数以处理复杂的业务需求。 该库为在不同数据结构中实现自定义验证例程提供了一个统一的接口。它以 crate 的形式分发,文档涵盖了声明式属性的应用,以强制执行格式、范围和结构完整性。
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.