| Crates.io | schemeforge |
| lib.rs | schemeforge |
| version | 0.1.0 |
| created_at | 2025-12-13 12:49:03.736317+00 |
| updated_at | 2025-12-13 12:49:03.736317+00 |
| description | Fast, local CLI written in Rust for validating, inspecting, and converting CSV & JSON datasets using file-based schemas. |
| homepage | |
| repository | https://github.com/manjunathh-xyz/schemeforge |
| max_upload_size | |
| id | 1982890 |
| size | 27,013 |
Fast, local CLI written in Rust for validating, inspecting, and converting CSV & JSON datasets using file-based schemas.
Validating and converting datasets between CSV and JSON formats is often tedious and error-prone. Developers and data analysts frequently need to ensure data integrity, check for type mismatches, and transform data formats without relying on external services or complex tools.
schemeforge provides a simple, fast, and local solution for dataset validation and conversion. It uses declarative schemas to define expected data structures, catching errors early and enabling reliable data processing pipelines.
cargo install schemeforge
Or build from source:
git clone https://github.com/manjunathh-xyz/schemeforge.git
cd schemeforge
cargo build --release
schemeforge validate data.csv --schema schema.json
schemeforge stats data.json
schemeforge convert input.csv output.json
schemeforge convert input.json output.csv
Schemas are JSON files defining fields and their types:
{
"fields": {
"name": {"field_type": "string", "required": true},
"age": {"field_type": "number", "required": false},
"active": {"field_type": "boolean", "required": false}
}
}
Supported types: string, number, boolean.