2 个仓库
Frameworks that use declarative attributes to enforce data integrity and business rules on Rust structures.
Distinct from Rust: Distinct from general Rust Serialization: focuses on validation logic rather than data format conversion.
Explore 2 awesome GitHub repositories matching data & databases · Declarative Validation Frameworks. Refine with filters or upvote what's useful.
该库是一个用于 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.