1 unstable release

0.1.0 Jul 16, 2024

#177 in Programming languages

MIT/Apache

10KB

The Rust Programming Language Book Crate

Build Status

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:

  1. 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.

  2. 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:

  1. 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.

  2. 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