Beginner Rust
Q27 / 100

What is a crate in Rust?

Correct! Well done.

Incorrect.

The correct answer is B) The smallest unit of compilation — a binary or library package

B

Correct Answer

The smallest unit of compilation — a binary or library package

Explanation

A crate is a binary (has main) or a library. crates.io is the package registry. Cargo.toml specifies crate dependencies.

Progress
27/100