protograph-core

Crates.ioprotograph-core
lib.rsprotograph-core
version0.1.0
created_at2025-12-21 17:42:15.220289+00
updated_at2025-12-21 17:42:15.220289+00
descriptionCore types and SDL parsing for protograph
homepagehttps://github.com/alexchoi0/protograph
repositoryhttps://github.com/alexchoi0/protograph
max_upload_size
id1998367
size24,832
Alex Choi (alexchoi0)

documentation

README

protograph-core

Core types and SDL parsing for protograph.

This crate provides:

  • GraphQL SDL parser with custom directive support
  • AST types (ProtographSchema, EntityType, Field, Relationship)
  • Schema validation

Usage

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)?;

License

MIT OR Apache-2.0

Commit count: 0

cargo fmt