Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Reduce generated code in version control #92

Description

@su-sd

Hi,

I am testing flutter_rust_bridge. So I created a project (flutter_rust_bridge_codegen create testapp).
Then I added everything to git. In rust_builder are 3869 lines of generated code, most of them in the cargokit/build_tool/lib/src folder.

Is there a possibility to reduce the amount of code?
I think, the cleanest solution could be to put the code in a dependency and import it in build_tool/lib/build_tool.dart.
Also this would make updates easier. Any thoughts on this?

Original issue was here: fzyzcjy/flutter_rust_bridge#2660

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions