Skip to content

Releases: blackwell-systems/domainstack

Release v1.1.1

07 Jan 23:36

Choose a tag to compare

Release v1.1.0

07 Jan 23:12

Choose a tag to compare

Release v1.0.1

07 Jan 13:15

Choose a tag to compare

v1.0.0 - Full-Stack Validation Ecosystem

06 Jan 13:34
aff8424

Choose a tag to compare

Features

  • 37 Validation Rules - String, numeric, collection, and datetime validation
  • Derive Macros - #[derive(Validate)] for declarative validation
  • Schema Generation - Auto-generate OpenAPI and JSON Schema from validation rules
  • TypeScript/Zod Codegen - CLI generates frontend schemas from Rust
  • WASM Browser Validation - Same Rust code runs in browser via WebAssembly
  • Framework Adapters - One-line extractors for Axum, Actix-web, Rocket
  • Async Validation - Database/API checks with context
  • Cross-Field Validation - Password confirmation, date ranges, custom invariants
  • Type-State Tracking - Phantom types enforce "validated" at compile time
  • Structured Errors - Field-level paths like rooms[0].adults for UI rendering

Installation

[dependencies]
domainstack = { version = "1.0", features = ["derive", "regex"] }

Documentation