Allow generating to return a string instead of writing to out_dir
Open
- Dominant language
- Rust
- Stars
- 12.5k
- Forks
- 1.3k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 24
Description
## Feature Request
Right now, the generation is happening to `out_dir` and creating a file. I would like it if I can get a string out of the generation and manipulate it.
### Crates
`tonic-build`
### Motivation
This is because we want to have much better control over when things are generated, commit the generated files to provide an SDK framework, and would like to add more testing to make sure protobuf files are always generated.
### Proposal
### Alternatives
Contributor guide
Assessment
This issue has not been assessed yet.