Crate semval

source ·
Expand description

semval

A lightweight and versatile toolbox for implementing semantic validation.

Please refer to the bundled reservation.rs example to get an idea of how it works.

Without any macro magic, at least not now.

Modules

Invalidity context
The crate’s prelude

Structs

Tags a type as validated

Traits

Value-to-value conversion with post-validation of the output value
Invalidities that cause validation failures
A utility trait for boolean validity checks.
A trait for validating types
Value-to-value conversion with post-validation of the output value

Type Definitions

Result of a value-to-value conversion with post-validation of the output value
Result of a validation