Note
RustAPI is designed for Rust 1.75 or later.
Before we begin, ensure you have the Rust toolchain installed. If you haven't, the best way is via rustup.rs.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shRustAPI comes with a powerful CLI to scaffold projects. Install it directly from crates.io:
cargo install cargo-rustapiVerify your installation:
cargo-rustapi --versionIf you prefer not to use the CLI, you can add RustAPI to your Cargo.toml manually:
cargo add rustapi-rs@0.1.335Or add this to your Cargo.toml:
[dependencies]
rustapi-rs = "0.1.335"For the best experience, we recommend VS Code with the rust-analyzer extension. This provides:
- Real-time error checking
- Intelligent code completion
- In-editor documentation