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 is a serializer and deserializer for a strongly typed, human-readable data exchange format. It mirrors Rust language syntax to represent complex data structures and configurations, serving as an alternative to formats like JSON and TOML. The format preserves native Rust type idioms, including enums, structs, tuples, and ranges. It supports inline comments and specialized numeric bases, allowing for the creation of typed configuration files and human-editable data storage. The library provides source-mapped error reporting to track character coordinates during syntax failures and includes
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.
هذه المكتبة عبارة عن إطار عمل للتحقق التصريحي (declarative validation) للغة Rust، يفرض سلامة البيانات وقواعد العمل على نماذج البيانات المهيكلة. تستخدم الماكرو الإجرائية لتحويل التعليقات التوضيحية القائمة على السمات إلى منطق تحقق قابل للتنفيذ، مما يضمن التزام هياكل البيانات بالقيود المحددة قبل المعالجة. يتميز إطار العمل بإجراء التحقق في وقت التجميع (compile time)، مما يلغي الحمل الزائد في وقت التشغيل ويوفر فحصاً صارماً للأنواع لجميع القواعد. يدعم التنقل العودي (recursive traversal) لهياكل البيانات المتداخلة والمجموعات، مما يضمن التحقق من كل مستوى في التسلسل الهرمي. وبعيداً عن قيود الحقول الفردية، يوفر النظام خطافات (hooks) لفحوصات اتساق الحقول المتقاطعة ويسمح بدمج وظائف مخصصة خاصة بالمجال للتعامل مع متطلبات العمل المعقدة. توفر المكتبة واجهة موحدة لتنفيذ إجراءات التحقق المخصصة عبر هياكل بيانات متباينة. يتم توزيعها كـ crate مع وثائق تغطي تطبيق السمات التصريحية لفرض التنسيقات والنطاقات والسلامة الهيكلية.
Enforces data integrity and business rules on Rust data structures using declarative attributes and custom validation logic.
Fluent-validator هو إطار عمل للتحقق من صحة Java مصمم لفرض سلامة البيانات من خلال قيود تعريفية وفحوصات طبقة الخدمة المؤتمتة. يوفر بيئة منظمة لتحديد منطق التحقق الذي يتكامل مع مواصفات JSR 303، مما يسمح للمطورين بالحفاظ على جودة بيانات متسقة عبر تسلسلات هرمية معقدة للكائنات وحدود التطبيق. يتميز إطار العمل بواجهة سلسة تتيح تنسيق سلاسل التحقق، مما يسمح بتسلسلات قواعد قابلة للقراءة والصيانة. يدعم التحكم المتقدم في التنفيذ، بما في ذلك القدرة على التبديل بين استراتيجيات الفشل السريع والفشل المتجاوز، ويستخدم الاعتراض القائم على الوكيل للتحقق تلقائياً من وسيطات الطريقة داخل الحاويات المدارة. بعيداً عن تكامل القيود القياسي، تسهل المكتبة سلامة البيانات العميقة من خلال اجتياز رسم بياني للكائن المتكرر والتحقق المتسلسل. يستوعب متطلبات العمل الديناميكية من خلال دعم المنطق الشرطي، ومجموعات التحقق لحل القواعد المدركة للسياق، وحقن الخصائص الخارجية في نطاق التحقق. يمكن للمطورين أيضاً تنفيذ فئات تحقق مخصصة للتعامل مع متطلبات البيانات الفريدة إلى جانب التعليقات التوضيحية القياسية.
Supports declarative validation using annotations on class fields to trigger automatic checks.