bevyengine / bevyengine/bevy

Should we use the `darling` crate for proc macros

Open
#17,497 0 comments 0 reactions 0 assignees View on GitHub
A-Cross-Cutting C-Code-Quality D-Macros D-Modest S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

While writing #17496 I came upon a crate called `darling` which would really simplify all proc macros we currently have such as `AsBindGroup`. It would be way easier to specify attributes and they would be real structs instead of const structs. We would also get the benefit of spelling suggestions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.