An open API service indexing awesome lists of open source software.

https://github.com/minias/rust-study

Exercises to learn and practice Rust (minias)
https://github.com/minias/rust-study

exercises ko learn rust study

Last synced: 6 months ago
JSON representation

Exercises to learn and practice Rust (minias)

Awesome Lists containing this project

README

          

# 러스트 학습

## 러스트 설치 방법

## 예제파일

- [입력된 수에서 짝수의 합 계산](./example1/)
- [환경설정 yml 파일 읽기](./example2/env/)
- [로컬 DB 설치 및 연결](./example2/mariaDb/)
- [통합 테스트 모듈 분리](./example3/)
- [단일파일로 러스트 실행 및 테스트](./example4/)
- [기본 restful API](./example6/)
- [https graceful shutdown](./example7/)
- [다국어 지원 (i18n)](./example8/)
- [AWS S3+SecretManager](./example9/)
- [example_sss](./example_sss/)
- [btc,eth,tron HD 지갑생성](./example10/)

## IA

```sh
├── example_sss
│   └── src
├── example1
│   └── src
├── example10
│   ├── common
│   │   └── src
│   ├── src
│   └── wallet
│   ├── bitcoin
│   │   └── src
│   ├── ethereum
│   │   └── src
│   └── tron
│   └── src
├── example2
│   ├── env
│   │   └── src
│   └── mariaDb
│   └── src
│   └── db
├── example3
│   ├── src
│   └── tests
├── example4
├── example5
│   └── src
├── example6
│   └── src
│   ├── controllers
│   ├── models
│   ├── router
│   └── services
├── example7
│   └── src
├── example8
│   └── src
└── example9
└── src
├── domain
├── env
├── infra
├── interfaces
└── usecase
```

### 참고 문서 & 사이트

- [easy_rust](https://dhghomon.github.io/easy_rust/)
- [cargo book](https://doc.rust-lang.org/stable/cargo/index.html)
- [rust documents](https://doc.rust-lang.org/stable/)
- [Rust Standard Library](https://doc.rust-lang.org/stable/std/index.html)

## Cargo 오류

> error: checksum for `sqlx v0.8.6` changed between lock files

```sh
rm Cargo.lock
cargo clean
cargo fetch
cargo build
```

> warning: virtual workspace defaulting to resolver = "1" despite ... edition 2024 ...

```sh
cat > Cargo.toml

[workspace]
resolver = "3"
members = [
"example1",
...
"example6",
]
```