awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Keats avatar

Keats/validator

0
View on GitHub↗
2,488 stars·184 forks·Rust·MIT·9 vues

Validator

This library is a declarative validation framework for Rust that enforces data integrity and business rules on structured data models. It utilizes procedural macros to transform attribute-based annotations into executable validation logic, ensuring that data structures adhere to defined constraints before processing.

The framework distinguishes itself by performing validation at compile time, which eliminates runtime overhead and provides strict type checking for all rules. It supports recursive traversal of nested data structures and collections, ensuring that every level of a hierarchy is verified. Beyond individual field constraints, the system provides hooks for cross-field consistency checks and allows for the integration of custom domain-specific functions to handle complex business requirements.

The library offers a unified interface for implementing custom validation routines across disparate data structures. It is distributed as a crate with documentation covering the application of declarative attributes to enforce formats, ranges, and structural integrity.

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.

Historique des stars

Graphique de l'historique des stars pour keats/validatorGraphique de l'historique des stars pour keats/validator

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Validator

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Validator.
  • go-validator/validatorAvatar de go-validator

    go-validator/validator

    1,335Voir sur 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
    Voir sur GitHub↗1,335
  • ajv-validator/ajvAvatar de ajv-validator

    ajv-validator/ajv

    14,733Voir sur 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
    Voir sur GitHub↗14,733
  • neoremind/fluent-validatorAvatar de neoremind

    neoremind/fluent-validator

    1,019Voir sur 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
    Voir sur GitHub↗1,019
  • jquense/yupAvatar de jquense

    jquense/yup

    23,673Voir sur 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
    Voir sur GitHub↗23,673
Voir les 30 alternatives à Validator→

Questions fréquentes

Que fait keats/validator ?

This library is a declarative validation framework for Rust that enforces data integrity and business rules on structured data models. It utilizes procedural macros to transform attribute-based annotations into executable validation logic, ensuring that data structures adhere to defined constraints before processing.

Quelles sont les fonctionnalités principales de keats/validator ?

Les fonctionnalités principales de keats/validator sont : 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.

Quelles sont les alternatives open-source à keats/validator ?

Les alternatives open-source à keats/validator incluent : 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…

Collections incluant Validator

Sélections manuelles où Validator apparaît.
  • une bibliothèque pour la validation d'attributs de modèles