Files
book/packages/trpl
Chris Krycho 4b7886e092 Ch. 17: Finish a pass on Message Passing example
- Incorporate a good discusion of the need to make sure that the `tx`
  in this example gets dropped.
- Add more listings which show borrowing vs. moving a `tx`, covering
  the full territory in that example.
- Add and test more re-exports in `trpl`.

I made a conscious choice here *not* to use `future::join_all()` because
that ends up getting into a discussion of `Pin`. I left a TODO item here
for now because I think it is probably worth getting into, and that
could be a good thing to transition to *after* this section.
2024-06-12 13:42:09 -06:00
..
2024-05-09 17:08:35 -06:00

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