mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-24 13:09:40 +00:00
add practice projects
This commit is contained in:
20
practices/hello-package/Readme.md
Normal file
20
practices/hello-package/Readme.md
Normal file
@ -0,0 +1,20 @@
|
||||
## Hello Package
|
||||
A practice project used in [Crate and Module](https://practice.rs/crate-module/crate.html) chapter.
|
||||
|
||||
This project will guide us to create a package with a binary crate and several library crates in it.
|
||||
|
||||
The project structure is as below:
|
||||
```shell
|
||||
.
|
||||
├── Cargo.lock
|
||||
├── Cargo.toml
|
||||
├── Readme.md
|
||||
├── src
|
||||
│ ├── back_of_house.rs
|
||||
│ ├── front_of_house
|
||||
│ │ ├── hosting.rs
|
||||
│ │ ├── mod.rs
|
||||
│ │ └── serving.rs
|
||||
│ ├── lib.rs
|
||||
│ └── main.rs
|
||||
```
|
Reference in New Issue
Block a user