Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
cargo-udeps helps find unused dependencies in Cargo.toml.
Installation
cargo install cargo-udeps
Usage
cargo +nightly udeps
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
cargo-udeps helps find unused dependencies in Cargo.toml.
cargo install cargo-udeps
cargo +nightly udeps
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
build.rs
is located in the root directory of the project.
build.rs
can be used to directly generate a module
or generate some Rust code to be included in another …
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
cargo init
cargo new project_name
cargo new --lib project_name
Install a Rust crate from GitHub (the default branch).
cargo install --git https://github …
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The article How to alleviate the pain of Rust compile times has a good summary on ways to speed up compilation of Rust projects.
The best tool to …
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The Rust macro include_str includes a UTF-8 encoded file as a string; the Rust macro include_bytes includes a file as a reference to a byte array. Both of those 2 macros load files into the Rust binary at compile time and consume memory at run time. It might not be a good idea to use them for large files!