| Crates.io | protograph-core |
| lib.rs | protograph-core |
| version | 0.1.0 |
| created_at | 2025-12-21 17:42:15.220289+00 |
| updated_at | 2025-12-21 17:42:15.220289+00 |
| description | Core types and SDL parsing for protograph |
| homepage | https://github.com/alexchoi0/protograph |
| repository | https://github.com/alexchoi0/protograph |
| max_upload_size | |
| id | 1998367 |
| size | 24,832 |
Core types and SDL parsing for protograph.
This crate provides:
ProtographSchema, EntityType, Field, Relationship)This is an internal crate. Most users should use protograph-build instead.
use protograph_core::{parse_schema_file, validate_schema};
let schema = parse_schema_file(sdl_content)?;
validate_schema(&schema)?;
MIT OR Apache-2.0