Skip to content

Should we use the darling crate for proc macros #17497

Open
@Bleachfuel

Description

@Bleachfuel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Cross-CuttingImpacts the entire engineC-Code-QualityA section of code that is hard to understand or changeD-MacrosCode that generates Rust codeD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions