Skip to content

Optimise Cargo.toml for release builds #14

@adamski

Description

@adamski

The Cargo.toml file does not appear to be optimized for release builds. This can result in larger binary sizes and slower performance than necessary.

To fix:

  • Add a [profile.release] section to Cargo.toml.
  • Enable optimizations like lto = true (Link-Time Optimization) for better performance.
  • For more optimizations, see The Rust Performance Book

Migrated from Linear: REP-16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions