Rust Crate
Noun · Development
Definitions
The unit of compilation and distribution in Rust, either a binary (executable) or a library. Crates are published to crates.io, managed by Cargo, and declared as dependencies in Cargo.toml. Each crate forms a separate namespace with its own module tree.
In plain English: A package of Rust code that you can download and use in your project, similar to a library in other languages.
Example: "Add the serde crate to Cargo.toml with the derive feature flag — it handles all our JSON serialization."