awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Keats avatar

Keats/validator

0
View on GitHub↗
2,488 نجوم·184 تفرعات·Rust·MIT·9 مشاهدات

Validator

هذه المكتبة عبارة عن إطار عمل للتحقق التصريحي (declarative validation) للغة Rust، يفرض سلامة البيانات وقواعد العمل على نماذج البيانات المهيكلة. تستخدم الماكرو الإجرائية لتحويل التعليقات التوضيحية القائمة على السمات إلى منطق تحقق قابل للتنفيذ، مما يضمن التزام هياكل البيانات بالقيود المحددة قبل المعالجة.

يتميز إطار العمل بإجراء التحقق في وقت التجميع (compile time)، مما يلغي الحمل الزائد في وقت التشغيل ويوفر فحصاً صارماً للأنواع لجميع القواعد. يدعم التنقل العودي (recursive traversal) لهياكل البيانات المتداخلة والمجموعات، مما يضمن التحقق من كل مستوى في التسلسل الهرمي. وبعيداً عن قيود الحقول الفردية، يوفر النظام خطافات (hooks) لفحوصات اتساق الحقول المتقاطعة ويسمح بدمج وظائف مخصصة خاصة بالمجال للتعامل مع متطلبات العمل المعقدة.

توفر المكتبة واجهة موحدة لتنفيذ إجراءات التحقق المخصصة عبر هياكل بيانات متباينة. يتم توزيعها كـ crate مع وثائق تغطي تطبيق السمات التصريحية لفرض التنسيقات والنطاقات والسلامة الهيكلية.

Features

  • Declarative Validation Frameworks - Enforces data integrity and business rules on Rust data structures using declarative attributes and custom validation logic.
  • Field Validation - Applies declarative rules to data fields to ensure values meet specific criteria like formats, lengths, or ranges.
  • Compile-Time Code Generation - Generates optimized validation code at build time to eliminate runtime overhead and ensure strict type checking.
  • Struct Tag Validators - Uses declarative attributes to enforce constraints on struct fields and nested data structures in Rust.
  • Cross-Field Consistency Checkers - Supports cross-field consistency checks to ensure the data structure remains valid as a whole unit.
  • Cross-Field Validators - Evaluates logical consistency and relationships between multiple fields within a data model after individual field checks.
  • Recursive Hierarchy Validation - Performs recursive validation on collections and sub-structures to ensure every level of the data hierarchy is verified.
  • Procedural Macro Engines - Provides procedural macro-based code transformation to enforce validation rules at compile time.
  • Data Validation Frameworks - Provides a framework for defining and executing complex validation logic across data models.
  • Data Structure Traversers - Recursively walks through nested data objects to apply validation constraints across the entire hierarchy.
  • Validation Trait Interfaces - Defines a unified interface for implementing custom validation routines across disparate data structures.
  • Custom Logic Validation - Allows execution of custom functions for complex domain-specific checks beyond standard validation rules.
  • Schema Validation - Applies validation rules to data structures using annotations to verify formats, ranges, and domain logic.

سجل النجوم

مخطط تاريخ النجوم لـ keats/validatorمخطط تاريخ النجوم لـ keats/validator

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

مجموعات مختارة تضم Validator

مجموعات منسقة بعناية يظهر فيها Validator.
  • مكتبة للتحقق من سمات النماذج (Model Attributes)

بدائل مفتوحة المصدر لـ Validator

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Validator.
  • go-validator/validatorالصورة الرمزية لـ go-validator

    go-validator/validator

    1,335عرض على GitHub↗

    This project is a data validation framework for the Go programming language that enforces integrity by applying declarative constraints to struct fields. It utilizes reflection to inspect data structures at runtime, mapping field-level requirements defined in struct tags to specific validation logic. The library distinguishes itself through its ability to handle complex object graphs by recursively traversing nested structures and slices. It supports context-aware validation, allowing developers to switch between different rule sets for the same data structure based on application state or sp

    Go
    عرض على GitHub↗1,335
  • ajv-validator/ajvالصورة الرمزية لـ ajv-validator

    ajv-validator/ajv

    14,733عرض على GitHub↗

    Ajv is a high-performance data validation framework that compiles JSON schemas into optimized, standalone JavaScript functions. By transforming declarative schema definitions into executable code, it eliminates runtime interpretation overhead and provides a secure, efficient way to enforce data integrity across both browser and server environments. The library distinguishes itself through its focus on performance and type safety. It employs advanced compilation techniques, including abstract syntax tree optimization and function caching, to ensure rapid validation. Beyond standard checks, it

    TypeScriptajvjson-schemavalidator
    عرض على GitHub↗14,733
  • neoremind/fluent-validatorالصورة الرمزية لـ neoremind

    neoremind/fluent-validator

    1,019عرض على GitHub↗

    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

    Java
    عرض على GitHub↗1,019
  • jquense/yupالصورة الرمزية لـ jquense

    jquense/yup

    23,673عرض على GitHub↗

    Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as an object schema validator and a data coercion engine, allowing developers to transform raw input values into desired types before performing validation checks. The library is distinguished by its support for dynamic schema validation, where rules can be adjusted at runtime based on sibling field values or external context. It also enables recursive data structuring for polymorphic fields and provides a system for extracting static TypeScript interfaces from runtime schema def

    TypeScript
    عرض على GitHub↗23,673
عرض جميع البدائل الـ 30 لـ Validator→

الأسئلة الشائعة

ما هي وظيفة keats/validator؟

هذه المكتبة عبارة عن إطار عمل للتحقق التصريحي (declarative validation) للغة Rust، يفرض سلامة البيانات وقواعد العمل على نماذج البيانات المهيكلة. تستخدم الماكرو الإجرائية لتحويل التعليقات التوضيحية القائمة على السمات إلى منطق تحقق قابل للتنفيذ، مما يضمن التزام هياكل البيانات بالقيود المحددة قبل المعالجة.

ما هي الميزات الرئيسية لـ keats/validator؟

الميزات الرئيسية لـ keats/validator هي: Declarative Validation Frameworks, Field Validation, Compile-Time Code Generation, Struct Tag Validators, Cross-Field Consistency Checkers, Cross-Field Validators, Recursive Hierarchy Validation, Procedural Macro Engines.

ما هي البدائل مفتوحة المصدر لـ keats/validator؟

تشمل البدائل مفتوحة المصدر لـ keats/validator: go-validator/validator — This project is a data validation framework for the Go programming language that enforces integrity by applying… ajv-validator/ajv — Ajv is a high-performance data validation framework that compiles JSON schemas into optimized, standalone JavaScript… neoremind/fluent-validator — Fluent-validator is a Java validation framework designed to enforce data integrity through declarative constraints and… jquense/yup — Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as… final-form/react-final-form — react-final-form is a React form state management library that provides a framework for declarative form validation… logaretm/vee-validate — Vee-validate is a form validation library and state management tool for Vue applications. It enables the validation of…