2 unstable releases

0.2.1 Oct 31, 2023
0.2.0 Oct 31, 2023
0.1.0 Dec 31, 2022

#244 in Programming languages

MIT/Apache

91KB
3K SLoC

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.


lib.rs:

Rust Book Code

rust_book_code is a collection of utilities to make performing certain calculations more convenient.

Dependencies

~310KB