{"repo":"Kobzol/cargo-wizard","free":true,"listed":false,"github":"https://github.com/Kobzol/cargo-wizard","clone":"git clone https://github.com/Kobzol/cargo-wizard.git","description":"Cargo subcommand for configuring Cargo projects for best performance.","language":"Rust","stars":1073,"topics":["cargo","rust"],"license":"MIT","category":"dev-tools","readme_excerpt":"cargo-wizard [![Latest Version]][crates.io] [Latest Version]: https://img.shields.io/crates/v/cargo-wizard.svg [crates.io]: https://crates.io/crates/cargo-wizard Cargo subcommand that applies profile and config templates to your Cargo project to configure it for maximum performance, fast compile times or minimal binary size. Motivation I often see Rust users asking online about how can they best configure Cargo get e.g. the fastest compilation times, best runtime performance or minimal binary size. While this information can be found in various books, repositories or blog posts, it is annoying to hunt for it everytime we want to configure a new Cargo project. This tool tries to automate that process to make it easier. Installation Usage - Interactive mode (CLI dialog that guides you through the process): - Non-interactive mode (directly apply a predefined template to your Cargo workspace): You can enable additional configuration options that require a nightly compiler by running cargo-wizard with a nightly Cargo (e.g. cargo +nightly wizard ) or by using the --nightly flag. Note that you should be executing cargo wizard inside a directory that is a part of a Cargo workspace. It will then apply the configuration options to that workspace. Features cargo-wizard can create or modify Cargo profiles in your Cargo.toml manifest and RUSTFLAGS in the .cargo/config.toml file, based on a set of predefined templates: - fast-compile - minimizes compilation times - Disables debuginfo gener","default_branch":null,"files":null,"tree":[],"storefront":"/r/Kobzol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Kobzol/cargo-wizard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}