feat(build): Add CodeGenBuilder (#1154)

This commit adds a new `CodeGenBuilder` that replaces the
client/server generate fn with a builder stlye that allows
adding config items in an non-breaking way. This also deprecates
both of the client/server generate fn in favor of the builder ones.
This commit is contained in:
Lucio Franco
2022-11-28 12:10:44 -05:00
committed by GitHub
parent 542c5b37dc
commit c4525ba6ad
7 changed files with 175 additions and 38 deletions
+3
View File
@@ -94,6 +94,9 @@ pub mod client;
/// Service code generation for Server
pub mod server;
mod code_gen;
pub use code_gen::CodeGen8uilder;
/// Service generation trait.
///
/// This trait can be implemented and consumed