You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a proc_macro for the config structs (eg: ccommon-stream, ccommon-debug, ...)
Problem
In #245 we added configuration structs for the ccommon components, however there is a significant amount of boilerplate.
Solution
I propose adding a proc_macro for generating code to reduce the boilerplate. It should be possible to define the overall configuration struct, with its default values in one location and let the proc_macro expand that out to a complete struct definition, accessors, and corresponding serde annotations.
The text was updated successfully, but these errors were encountered:
Add a proc_macro for the config structs (eg: ccommon-stream, ccommon-debug, ...)
Problem
In #245 we added configuration structs for the ccommon components, however there is a significant amount of boilerplate.
Solution
I propose adding a proc_macro for generating code to reduce the boilerplate. It should be possible to define the overall configuration struct, with its default values in one location and let the proc_macro expand that out to a complete struct definition, accessors, and corresponding serde annotations.
The text was updated successfully, but these errors were encountered: