fsvalidator-0.1.2 has been yanked.
File Structure Validator
A Rust library for validating real filesystem directories against a declarative, strongly-typed schema. Useful for enforcing project structure, data ingestion layout, or configuration rules.
Features
- Strongly-typed node model with Literal and regex Pattern matching.
- Supports nested directory/file trees.
- Shared template support via references.
- Optional validation strictness (required, allow_defined_only).
- Built-in validation with informative errors.
Example
use from_toml;
Model Overview
Use Cases
- Project layout enforcement
- Data pipeline input verification
- Config tree validation
Installation
Add to Cargo.toml:
[]
= { = "0.1.2" }
License
MIT