Skip to content

feat: cdr-derive as the single source of truth #33

Description

@carlocorradini

zerodds-build should not generate the impl blocks itself. Instead, it should rely directly on #[derive(DdsType)], generating only the struct(s) and enum(s) without any implementation blocks. This would make cdr-derive the single source of truth for DDS types.
This follows the same approach used by prost-build, which generates only struct(s) and enum(s) with the appropriate #[derive(...)]. Then, the impl(s) are provided by prost-derive.

Moreover, cdr-derive needs to be extended with several features (such as extensibility and other attributes).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions