Skip to content

Recommend compiler/Cargo options as a part of the "Releasing Your App" guideΒ #930

@zamazan4ik

Description

@zamazan4ik

Hi!

It's great that Ratatui has a guide for developers where we can see the "preflight checklist" for Ratatui apps. I want to propose an addition to this guide about tweaking Cargo options.

We already have at least one such an example in the Rust ecosystem: Tauri documentation. Probably, in the future we will get a similar thing in Bevy too.

My proposal is the following:

  • Expand "Releasing Your App" checklist with something similar to Tauri docs
  • Announce these changes somehow for present and future Ratatui users, so we will increase chances that existing Ratatui users will apply such Cargo changes to their existing apps
  • Add recommended options to Ratatui templates, so users who copy & paste templates will get recommended options automatically

Why do I care about it? Because I use many Ratatui-based apps, and I already proposed/contributed enabling at least LTO/CG1 to maaaaaany of them - all or almost all Ratatui-based apps' authors were happy to enable these changes. I think it's a good time to introduce such changes in a larger scale.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions