fix(buildinfo): Use macro for flattened struct generation
The flatten
attribute of serde
is only supported for self-describing
formats. This causes the BuildInfoV2 parser to fail due to attempting to
parse non-self-describing formats as String
.
The struct-flattening approach is replaced with a custom macro that expands the v1 struct definition of the build info format.
Fixes: #78 (closed)
Edited by Orhun Parmaksız