├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md └── src └── main.rs /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Generated by Cargo 3 | # will have compiled files and executables 4 | /target/ 5 | /src/main 6 | 7 | # These are backup files generated by rustfmt 8 | **/*.rs.bk 9 | 10 | .DS_Store 11 | ._.DS_Store 12 | **/.DS_Store 13 | **/._.DS_Store 14 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 3 4 | 5 | [[package]] 6 | name = "boom" 7 | version = "0.1.0" 8 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "boom" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 | 8 | [dependencies] 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Boom Labs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Part 0. Installation 2 | 3 | 먼저 시작하기에 앞서, [**Boom💥Labs Rust 트랙** 온라인 진행 공지](https://clear-venus-f3d.notion.site/Boom-Labs-Rust-d379e81d94594cf2a7054994feaaaa3f) 를 정독하여, 본 러스트 트랙의 목적을 이해해주세요! 4 | 5 | 그럼, Rust 트랙 시작합니다! 6 | 7 | ## 깃헙 자료 8 | 9 | 먼저, 깃헙 레포에 대해 설명드리자면, 총 4개의 브랜치에 파트별로 진행하고 있습니다. ([part1](https://github.com/boomlabs-web3/rust-basic/tree/part1), [part2](https://github.com/boomlabs-web3/rust-basic/tree/part2), [part3](https://github.com/boomlabs-web3/rust-basic/tree/part3), [part4](https://github.com/boomlabs-web3/rust-basic/tree/part4)) 10 | 11 | 각 파트별 브랜치에는 1주차 정도의 분량의 설명과, Exercise (Rustlings, Rust By Practice), 그리고 Reference들을 포함하고 있습니다. 12 | 또한 예제 코드를 브랜치 내에 포함하고 있고, 파트의 진행에 따라 태그로 분리하고 있습니다. 13 | 14 | 본 트랙의 자료는 “The Rust Programming Language 2nd Edition”, “Rust by Example”, “The Rust Reference” 등의 자료를 참조하여 작성되었습니다. 15 | 16 | 각 챕터별로 참고가 될 문서의 링크를 달았으니, **▶ Reference** 토글 아래의 참조 문서를 정독하면서 진행해주세요. 17 | 또한 각 챕터에 예제 문제도 풀어보시면 큰 도움이 됩니다. **▶ In-class Exercises** 토글 아래의 예제들을 확인해주세요. 18 | 19 | ## 개발 환경 설치 20 | 21 | ### Install Rust 22 | 23 | [한국 러스트 사용자 그룹](https://rust-kr.org/pages/install/) 24 | 25 | Rust 설치는 위 페이지 참고하여 각자의 운영체제에 맞게 설치해주세요! 26 | 27 | ### IDEs 28 | 29 | - [IntelliJ](https://www.jetbrains.com/rust/) 30 | - VScode 31 | - Extension: rust-analyzer, Rust Syntax, Rust Extension Pack 32 | 33 | ### Install [Rustlings](https://github.com/rust-lang/rustlings) 34 | 35 | [GitHub - rust-lang/rustlings](https://github.com/rust-lang/rustlings#macoslinux) 36 | 37 | 예제로 사용할 Rustlings는 위 문서를 참고하여, 각자 운영체제에 맞게 설치해주세요. 38 | 39 | ### Course Material 40 | 41 | - The Rust Programming Language 2nd Edition ([EN](https://doc.rust-lang.org/stable/book/), [KR](https://rinthel.github.io/rust-lang-book-ko/)) 42 | - Rust by Example ([EN](https://doc.rust-lang.org/rust-by-example/), [KR](https://hanbum.gitbooks.io/rustbyexample/content/)) 43 | - The Rust Reference ([EN](https://doc.rust-lang.org/reference/)) 44 | - [Rust basic course material ](https://docs.google.com/presentation/d/11M3hYu7zts4WRiJB5qQhFs8MhB56uAbOTDUvGZzJUTg/edit?usp=drivesdk) 45 | 46 | ### Useful Sites 47 | 48 | - [awesome-rust](https://github.com/rust-unofficial/awesome-rust): Rust와 관련된 리소스들을 정리한 레포입니다. 디버깅, IDEs, 테스팅 등의 개발 툴, Rust로 작성된 유용한 어플리케이션, 자주 사용되는 라이브러리, 교육 리소스 등 많은 자료들이 담겨있습니다. 49 | - [cheat.rs](https://www.cheats.rs/): Rust의 치트 시트입니다. 다양한 내용을 요약정리하고있어, 가볍게 검색하여 확인하기 좋습니다. 50 | - [crates.io](https://crates.io/): Rust의 Crate들에 대한 정보를 담고있는 사이트입니다. 51 | 52 | ### [part1](https://github.com/boomlabs-web3/rust-basic/tree/part1)으로 이동 53 | 54 | 개발환경 설치가 완료되었다면, `git checkout part1`을 통해, Part 1 브랜치로 이동해주세요. 55 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | --------------------------------------------------------------------------------