rust_book_code 0.2.1

The code of rust book
Documentation
  • Coverage
  • 15.22%
    7 out of 46 items documented1 out of 25 items with examples
  • Size
  • Source code size: 92.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.9 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • XuGuangnian/rust-book-code
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • XuGuangnian

rust-book-code

After reading Modules and Cargo Workspaces, use mod and workspace to manage the Rust book code for future review.

Book:

https://doc.rust-lang.org/stable/book/

中文翻译:

Usage

rust-book-code is the cargo workspace root directory, rust_book_code is the book code to start.

cargo run --bin rust_book_code

If you want to use the code in Chapter 10, comment all chx() except ch10() in main function of rust_book_code package.