rust_book_code

Crates.iorust_book_code
lib.rsrust_book_code
version0.2.1
sourcesrc
created_at2022-12-31 06:06:43.988009
updated_at2023-10-31 05:41:51.931637
descriptionThe code of rust book
homepage
repositoryhttps://github.com/XuGuangnian/rust-book-code
max_upload_size
id748258
size92,741
Gengen Wang (XuGuangnian)

documentation

README

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.

Commit count: 64

cargo fmt