Skip to content

Glossary: Rust in Practice

library crate

Also written: library, lib.rs

A crate with no `main` that holds code for other crates to use, starting from `src/lib.rs`, like `kc-money`.

Where the book teaches it

Related terms

binary cratepackage