Loading...
Loading...
Master Rust 1.75+ development with async runtime (Tokio/smol).
npx skill4agent add dokhacgiakhoa/antigravity-ide rust-proGoal: Write idiomatic, high-performance, and memory-safe Rust code following standard community practices (The Rust Way).
.clone()Arc<Mutex<T>>RwLock<T>mpscResult<T, E>thiserroranyhow.unwrap().expect()?tokiojoin_allNew Typecargoclippyrustfmt#[test]cargo testmockallmy_crate/
├── Cargo.toml
├── src/
│ ├── main.rs # Binary entry point
│ ├── lib.rs # Library entry point
│ ├── bin/ # Additional binaries
│ ├── models/ # Data structures
│ ├── error.rs # Central error definition
│ └── utils.rs # Helper functions
└── tests/ # Integration tests
└── integration_test.rstokiofuturesaxumactix-webserdeserde_jsonanyhowthiserrortracingtracing-subscriberconfigString&strunsafe// SAFETY:Vec::with_capacity(n)structenummain.rslib.rstests/Box<dyn Trait>Result