Top "Rust-crates" questions

Crates are the unit of compilation in Rust.

Rust can't find crate

I'm trying to create a module in Rust and then use it from a different file. This is my file …

rust rust-crates
How to use a local unpublished crate?

I've made a library: cargo new my_lib and I want to use that library in a different program: cargo …

rust multifile rust-crates
How to clear the Cargo cache?

When I run cargo build, various libs get stored within the folder /usr/local/lib/rustlib/. What is the correct …

rust rust-crates rust-cargo
Error installing a crate via cargo: specified package has no binaries

I'm trying to install a Rust crate on my system (Arch Linux) using Cargo. I can search for crates and …

installation rust rust-cargo rust-crates
How do I make an Rust item public within a crate, but private outside it?

I have a crate that has lots of code, so I've split it into multiple files/modules. However, some modules …

module rust public rust-crates