Skip to content

Commit

Permalink
Ch. 17: rewrite 17.01 with a better example
Browse files Browse the repository at this point in the history
Add `reqwest` and `scraper` dependencies to the `trpl` crate. Wrap them
in `trpl` re-exports which keep the API surface low.

Rewrite the whole first section to use `race` along with those `trpl`
re-exports to show a more “real” example of async code right form the
start, including actual concurrency, unlike the previous introduction.

Update 17.03 to account for having introduced `race` already, and update
listing numbers for rewritten 17.01.
  • Loading branch information
chriskrycho committed Sep 20, 2024
1 parent 6f5773e commit 5b75c32
Show file tree
Hide file tree
Showing 79 changed files with 15,235 additions and 1,699 deletions.
1,890 changes: 1,742 additions & 148 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["packages/tools"]
members = [ "listings/ch17-async-await/listing-scraper-01","packages/tools"]
default-members = ["packages/tools"]
resolver = "2"
exclude = [
Expand Down
Loading

0 comments on commit 5b75c32

Please sign in to comment.