소스 정보
- 저장소
- pluginagentmarketplace/custom-plugin-rust
- 최근 소스 활동
- 2025년 12월 30일 04:25
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-rust --skill cargo-ecosystem명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | cargo-ecosystem |
| description | Master Cargo, testing, and Rust development tools |
| sasmp_version | 1.3.0 |
| bonded_agent | rust-tooling-agent |
| bond_type | PRIMARY_BOND |
| version | 1.0.0 |
Master Rust's build system, package manager, and development tools.
# Project management
cargo new my_project # Create binary project
cargo new my_lib --lib # Create library project
cargo init # Initialize in existing dir
# Build & Run
cargo build # Debug build
cargo build --release # Optimized build
cargo run # Build and run
cargo run --release # Optimized run
# Testing
cargo test # Run all tests
cargo test test_name # Run specific test
cargo test -- --nocapture # Show output
# Quality
cargo fmt # Format code
cargo clippy # Lint code
cargo doc --open # Generate docs
[package]
name = "my-app"
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
authors = ["You <you@example.com>"]
description = "A sample application"
license = "MIT"
repository = "https://github.com/you/my-app"
[dependencies]
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
proptest = "1.0"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
[[bin]]
name = "my-app"
path = "src/main.rs"
[[bench]]
name = "my_benchmark"
harness = false
pub fn add(a: i32, b: i32) -> i32 {
a + b
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_add() {
assert_eq!(add(2, 2), 4);
}
#[test]
#[should_panic(expected = "overflow")]
fn test_panic() {
// Expected to panic
}
#[test]
#[ignore]
fn slow_test() {
// Run with: cargo test -- --ignored
}
}
// tests/integration_test.rs
use my_crate::public_function;
#[test]
fn test_public_api() {
assert!(public_function().is_ok());
}
// benches/my_benchmark.rs
use criterion::{criterion_group, criterion_main, Criterion};
fn benchmark(c: &mut Criterion) {
c.bench_function("my_function", |b| {
b.iter(|| my_function())
});
}
criterion_group!(benches, benchmark);
criterion_main!(benches);
# Install components
rustup component add rustfmt clippy
# Format
cargo fmt
cargo fmt -- --check # CI check
# Lint
cargo clippy
cargo clippy -- -D warnings # Strict mode
cargo clippy --fix # Auto-fix
# Install useful tools
cargo install cargo-watch # Auto-rebuild
cargo install cargo-edit # cargo add/rm
cargo install cargo-nextest # Fast parallel tests
cargo install cargo-audit # Security check
cargo install cargo-bloat # Binary size analysis
edition = "2021"
max_width = 100
use_small_heuristics = "Max"
tab_spaces = 4
[alias]
t = "test"
c = "clippy"
b = "build --release"
[build]
rustflags = ["-D", "warnings"]
# Root Cargo.toml
[workspace]
members = [
"core",
"cli",
"server",
]
[workspace.dependencies]
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }