rust
Installation
SKILL.md
What I do
- Write memory-safe systems code
- Implement error handling with Result and Option
- Use lifetimes and generics
- Create concurrent programs with async/await
- Build CLI tools with Clap
- Write web services with Axum
- Use cargo for project management
When to use me
When building high-performance, memory-safe applications or systems software.
Ownership & Borrowing
fn main() {
let s1 = String::from("hello");
let s2 = s1; // s1 moved to s2
// Clone to avoid move
let s3 = s2.clone();