-
MUST know Rust Cargo❤️ plugins(cargo-modules)코딩Coding/Rust★cargo★compiler 2022. 5. 21. 22:37728x90
https://rustrepo.com/repo/regexident-cargo-modules
https://github.com/rustsec/rustsec
MUST❤️ know Rust Cargo plugins
Install 하는 방법
cargo install cargo-audit
cargo install cargo-modules
cargo install cargo-make
Windows만 되는듯 tarpulin
cargo install cargo-tarpaulin
cargo tarpaulin
cargo modules generate tree crate testrust cargo add rand@0.7 Updating 'https://github.com/rust-lang/crates.io-index' index Adding rand v0.7 to dependencies cargo upgrade rand Updating 'https://github.com/rust-lang/crates.io-index' index testrust: Upgrading rand v0.7 -> v0.8.5
cargo watch -x run [Running 'cargo run'] Updating crates.io index Compiling ppv-lite86 v0.2.16 Compiling getrandom v0.2.6 Compiling rand_core v0.6.3 Compiling rand_chacha v0.3.1 Compiling rand v0.8.5 Compiling testrust v0.1.0 (/Users/globalyoung/Documents/Project/Github/rust_project/testrust) warning: unused variable: `my_number` --> src/main.rs:14:9 .. ... ...
cargo watch -c -q -w ./src -x run warning: unused variable: `my_number` --> src/main.rs:14:9 | 14 | let my_number = give_8(); | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_number` | = note: `#[warn(unused_variables)]` on by default warning: `testrust` (bin "testrust") generated 1 warning Finished dev [unoptimized + debuginfo] target(s) in 0.01s Running `target/debug/testrust` 8
cargo test 보다 60프로 이상 빠르다고 함
cargo nextest run
반응형'코딩Coding > Rust★cargo★compiler' 카테고리의 다른 글
Rust Release 주기 6주. 러스트 릴리즈팀의 Pietro❤️Shipping a compiler every six week (0) 2023.06.21 Rust Compiler Development Guide (0) 2023.06.21 cargo fix❤️rust edition2015, 2018, 2021코드 짬뽕으로 섞였을때 코드 수정해줌 (0) 2022.08.19 Rust ❤️ cargo Book (0) 2022.06.02 Rust_Cargo_Workspace❤️Structuring larger Rust projects with Cargo Workspaces-LGR (0) 2022.05.19 Rust Cargo -asm (0) 2022.05.17 rustc - A talk by Mark Mansi about the Rust programming language and compiler - madPL (0) 2022.05.02 cargo features(Rust 1.60ver (0) 2022.05.01