tokio-rs / prost

PROST! a Protocol Buffers implementation for the Rust Language
Apache License 2.0
3.95k stars 506 forks source link

Clean up `CodeGenerator` by moving compilation-global data and logic to `Context` #1190

Open mzabaluev opened 3 days ago

mzabaluev commented 3 days ago

Refactoring improvements to prost-build:

mzabaluev commented 2 days ago

I would like this in, before I add an enum type registry, which is necessary to properly implement imports (and later with editions, the enum_type feature) for #1079.