google / google/pdl

Create codegen library for use in build.rs

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
86
Forks
18
Avg merge
20h 49m
Merged PRs (30d)
1

Description

As reference https://crates.io/crates/protobuf-codegen
Create a library that can facilitate the invocation of `pdlc` from `build.rs` files.

Potential interface:
```
pdlc::Codegen::new()
.input("test.pdl")
.output("test.rs")
.output_format(Codegen::Format::Rust)
.run();
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.