koruma-core 0.7.1

Core traits and types for koruma validation
Documentation

koruma-core

Docs Crates.io

Core traits and types for the koruma validation ecosystem. Most users should depend on koruma instead of this crate directly.

What it provides

  • Validate<T>: implemented by validator structs.
  • ValidationError: implemented by generated error structs.
  • BuilderWithValue<T>: implemented by #[koruma::validator] builders for with_value().
  • ValidateExt: used for nested/newtype validation.
  • NewtypeValidation: marker for newtype structs with transparent error access.