Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 670 Bytes

File metadata and controls

31 lines (21 loc) · 670 Bytes

ziovalid

Overview

Input validation library for Zig. Comptime rule definitions, custom validators, and detailed error messages. Validate structs, strings, and numbers.

Project Structure

src/
  ziovalid.zig    - Main library source
examples/
  example.zig    - Runnable example
build.zig        - Build configuration

Commands

zig build test          # Run tests
zig build run-example   # Run the example
zig build               - Build the library

Architecture

Single-file library with no external dependencies. All public symbols have doc comments.

Testing

Tests are inline in src/ziovalid.zig. Run with zig build test.