protograph-codegen

Crates.ioprotograph-codegen
lib.rsprotograph-codegen
version0.1.0
created_at2025-12-21 17:43:16.499649+00
updated_at2025-12-21 17:43:16.499649+00
descriptionCode generation for protograph (proto + Rust)
homepagehttps://github.com/alexchoi0/protograph
repositoryhttps://github.com/alexchoi0/protograph
max_upload_size
id1998371
size38,098
Alex Choi (alexchoi0)

documentation

README

protograph-codegen

Code generation for protograph.

This crate generates:

  • .proto files with batch RPCs
  • Rust structs and async-graphql objects
  • DataLoader implementations
  • Service traits

Usage

This is an internal crate. Most users should use protograph-build instead.

use protograph_codegen::{generate_proto, generate_rust};

let proto = generate_proto(&schema);
let rust = generate_rust(&schema);

License

MIT OR Apache-2.0

Commit count: 0

cargo fmt