grpc / grpc/grpc-rust

Allow generating to return a string instead of writing to out_dir

Open
#1,306 3 comments 0 reactions 0 assignees View on GitHub
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

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.