2 unstable releases
0.2.0 | Sep 25, 2024 |
---|---|
0.1.0 | Jul 16, 2024 |
#275 in Text processing
197 downloads per month
10KB
63 lines
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
~9–20MB
~278K SLoC