https://rocket.rs/v0.4/guide/quickstart/
Quickstart - Rocket Programming Guide
Before you can start writing a Rocket application, you'll need a nightly version of Rust installed. We recommend you use rustup to install or configure such a version. If you don't have Rust installed and would like extra guidance doing so, see the getting
rocket.rs
rustup default nightly

rustup override set nightly

cargo new hello-rocket --bin

cargo new hello-rocket --bin
cd hello-rocket

hello world 는 찍히는거 같다.

dependencies 에 rocket을 추가한다.
cargo run



hello~
hello 시작
'DEV > Rust' 카테고리의 다른 글
| Rust 개발환경 구성 ( Windows, Vscode ) (0) | 2022.03.19 |
|---|