cargo-rustapi-0.1.10 is not a library.
cargo-rustapi
The official CLI tool for the RustAPI framework.
Use this tool to scaffold new projects, generate code, and fast-track your development workflow.
📦 Installation
🛠️ Usage
Creating a New Project
Use the new command to generate a project structure.
# Interactive mode (Recommended)
# Quick start with specific template
Available Templates:
minimal: Basicmain.rsandCargo.toml.api: REST API structure with separatedhandlersandmodels.web: Web application with HTML templates (rustapi-view).full: Complete example with Database, Auth, and Docker support.
Running Development Server
Run your application with hot-reloading (requires cargo-watch).
Code Generation
Save time by generating boilerplate.
# Generate a handler function and register it
# Generate a database model
# Generate a full CRUD resource (Model + Handlers + Tests)
Managing Migrations (Planned)