code-like-a-pro-in-rust-book
code-like-a-pro-in-rust-book copied to clipboard
Source code for Code Like a Pro in Rust
Code Like a Pro in Rust book code
This repository contains the source code for Code Like a Pro in Rust.
Table of contents
Chapter 2
2.2
- simple-project
2.3
- patch-num-cpus
2.6
- zlib-wrapper
2.8
- rustdoc-example
2.9
- modules
2.10
- workspaces-example
2.11
- build-script-example
Chapter 4
4.1
- movable-or-not
4.2
- slices-and-arrays
4.3
- borrowed-vec
4.4
- compound-key
- custom-hash-function
4.5
- enums
- integer-types
- tuple-basics
- unchecked-arithmetic
- wrapping-arithmetic
4.6
- error-handling
4.7
- error-conversion
- string-wrapper
4.8
- zlib-example
Chapter 5
5.2
- ownership
5.3
- shallow-and-deep-copies
5.4
- copies
5.5
- singlylinkedlist
5.6
- doublylinkedlist
5.7
- singlylinkedlist-immutable
5.8
- basicallocator
- cfg-attributes
- pagealignedallocator
- passthruallocator
Chapter 6
6.2
- unit-tests
6.3
- proptest
- wrapping-adder
6.5
- global-state
- mutex-guard
6.7
- rewriting-fizzbuzz
6.8
- tarpaulin-report.html
Chapter 7
7.1
- quicksort
7.2
- quicksort-trait
7.4
- quicksort-cli
- quicksort-proptest
7.5
- fuzzme
Chapter 8
8.3
- async-sleep
- sync-sleep
8.4
- fire-and-forget
- outside-async-context
- wait-future-without-await
8.5
- parallelism
8.6
- async-observer
8.7
- mixed-file-io
8.9
- tracing
8.10
- async-tests
Chapter 9
- api-service
Chapter 10
- api-client
Chapter 11
11.2
- vectors
11.3
- simd
11.4
- parallelization-with-rayon