1 unstable release
0.1.0 | Jul 16, 2024 |
---|
#177 in Programming languages
10KB
The Rust Programming Language Book Crate
This repository is the home of the trpl
crate used in The Rust Programming
Language book materials.
This crate mostly just re-exports items from other crates. It exists for two main reasons:
-
So that as you read along in The Rust Programming Language, you can add just one dependency, rather than however many we end up with, and likewise use only one set of imports.
-
So that we can more easily guarantee it keeps building and working. Since we control the contents of this crate and when it changes, readers will never be broken by upstream changes, e.g. if Tokio does a breaking 2.0 release at some point.
Requirements
This crate currently requires at least Rust 1.79.
lib.rs
:
A support crate for The Rust Programming Language.
This crate mostly just re-exports items from other crates. It exists for two main reasons:
-
So that as you read along in The Rust Programming Language, you can add just one dependency, rather than however many we end up with, and likewise use only one set of imports.
-
So that we can more easily guarantee it keeps building and working. Since we control the contents of this crate and when it changes, readers will never be broken by upstream changes, e.g. if Tokio does a breaking 2.0 release at some point.
Dependencies
~2.7–4MB
~64K SLoC