-
[Rust개발필수확장]러스트❤️개발을 위한 VSCODE 필수 Extensions& Cargo 명령어 정리코딩Coding/Rust★cargo★compiler 2022. 2. 6. 01:15728x90
https://www.youtube.com/watch?v=x_iZEK6Rww4
Crates
Rust- Analyzer
CodeLLDB
Error Lens
------cargo 에서 주로 쓰는 기능
cargo fmt // 자동 정렬 기능 먹통일때 쓸만함. cargo fix // 컴파일러의 권고를 그대로 수정해줌 cargo clippy // Clippy 린트(똑똑한 분석 도구, 코드를 분석하는 린트(lint)의 집합으로 허스트 코드의 일반적인 실수를 찾아 코드 품질을 향상시킴 ----cargo watch crate설치 후 가능 cargo watch -q -c -x 'run -q' //실시간으로 결과를 계속 확인 가능함 --맥OS는 brew로 설치해야 합니다. ㅠㅠ brew install rust rustup update brew install rust brew upgrade rust ------------------------------ rustup update //rustup Rust 업데이트 rustup install stable // 안전한 버젼 설치하기 rustup install 1.58 // 1.58 버젼으로 설치하기 rustup default nightly // 나이트 버젼 설치하기 // stable > beta > nightly // stable이 가장 안정정인 버젼입니다. // nightly는 최신이지만 최적화 되지 않음.ㅜㅜ rustc --version // rustc버젼 체크(러스트 버젼체크로 보면 됩니다.) rustc uninstall beta // beta버젼 삭제하기
----Rust Crates-----
cargo watch
cargo 명령어 정리
https://economiceco.tistory.com/12248Rust] cargo ❤️명령어 정리❤️ &rustup&rustc_rust update_default등등
cargo run //코드 실행 cargo fmt //카고 프로젝트 포맷 적용 // 현재 크레이트의 모든 러스트 코드를 다시 포매팅 // 이쁘게 글씨 정렬 ------rustfix cargo fix //자동으로 컴파일러의 권고를 코드에 자동 적
economiceco.tistory.com
cargo doc —-open 설명서 만들기 html로 이쁘게 나옴
https://blog.naver.com/shpack1234/222675630765[RUST] 러스트 카고의 미친 기능
러스트는 cargo라는 빌드 관리자를 사용한다. 그런데 이 cargo에 굉장한 기능이 있고 앞으로도 많이 사용할...
blog.naver.com
cargo watch -q -c -x 'run -q'----cargo watch crate설치 후 가능 cargo watch -q -c -x 'run -q' //실시간으로 결과를 계속 확인 가능함 --맥OS는 brew로 설치해야 합니다. ㅠㅠ brew install rust rustup update brew install rust brew upgrade rust
https://economiceco.tistory.com/12241cargo watch -q -c -x ‘run -q’ 라이브서버 처럼 내가 코딩하면 실시간으로 계속 변화되는거 알려줌
3분 28초에 나옴 https://youtu.be/FzbxAhTqK9s crate install 받아야함 https://crates.io/crates/cargo-watch 하고 나면 됨.
economiceco.tistory.com
https://www.youtube.com/watch?v=4_LQ0BPSQUg
part2
https://www.youtube.com/watch?v=rZN2jsJvSsA
★★★Rust Toturial 로드맵(Road Map)첫시작!-
★★★(총정리)Rustacean이 되어 보자!!Let's go!
- https://economiceco.tistory.com/m/8614★★★Rust Toturial 로드맵(Road Map)첫시작!-★★★(총정리)Rustacean이 되어 보자!!Let's go!
GlobalYoung(내인생PLUS) 후원 방법 후원받은 금액으로 더 좋은 글을 만들도록 하겠습니다 https://toon.at/donate/637632064207125437 Toonation toon.at 온라인 스승님 러스트를 배웁시다 한글 easy_rust 온라인..
economiceco.tistory.com
Rust 한글 강의 -
Easy Rust최고(Rust 강좌) -https://economiceco.tistory.com/m/11716
Rust 한글 강의 -Easy Rust최고(Rust 강좌)
https://youtu.be/W9DO6m8JSSs eBook)영문 https://dhghomon.github.io/easy_rust/ Updates - Easy Rust 23 May 2021: Now available in Indonesian thanks to Ariandy/1kb. 2 April 2021: Added BuyMeACoffee lin..
economiceco.tistory.com
반응형'코딩Coding > Rust★cargo★compiler' 카테고리의 다른 글
Rust](memory) How can I inspect the representation of a compiled type? (0) 2022.04.04 Rust Clippy 심화 명령어 (0) 2022.03.28 Rust) cargo-watch개발에 필수!!!! (0) 2022.03.18 Debugging Support in the Rust Compiler - Guide to Rustc (0) 2022.02.22 Rust] cargo ❤️명령어 정리❤️ &rustup&rustc_rust update_default등등 (0) 2022.02.05 Rust] Cargo-expand 기계가 어떻게 매크로를 출력하는 자세히 보기-디버그가 실제로 어떻게 되는지 자세히 보자! (0) 2022.01.16 rust에서 제공하는 rustup update최신버젼으로 잘 유지하자!! (0) 2021.12.07 Rust_Cargo 기본 명령어 (0) 2020.09.09