| Crates.io | ruskit |
| lib.rs | ruskit |
| version | 0.1.5 |
| created_at | 2025-02-19 00:29:15.390153+00 |
| updated_at | 2025-02-20 02:00:19.507829+00 |
| description | A modern web framework for Rust inspired by Laravel |
| homepage | https://ruskit.rs |
| repository | https://github.com/dayemsiddiqui/ruskit |
| max_upload_size | |
| id | 1560751 |
| size | 870,489 |
Ruskit is a web application framework with expressive, elegant syntax inspired by Laravel, built for Rust. We believe development must be an enjoyable and creative experience. Ruskit takes the pain out of web development by easing common tasks used in many web projects.
Before you begin, ensure you have the following installed:
cargo install cargo-generate
cargo install cargo-make
First, install the Ruskit CLI tool:
# Install the Ruskit CLI tool
cargo install ruskit
Then create a new Ruskit project:
# Create a new project
cargo kit new my-project
# Navigate to project directory
cd my-project
# Start the development server
cargo make dev
Ruskit comes with several CLI tools to help you develop your application:
# Create a new model (generates both entity and model files)
cargo kit make:model Post
# Create a new controller
cargo kit make:controller PostController
# Create a new DTO
cargo kit make:dto Post
# Create all components (entity, model, controller, DTO)
cargo kit make:all Post
# Run database migrations
cargo kit migrate
# Start development server with hot reload
cargo kit dev
src/
├── app/
│ ├── entities/ # Data structures and validation rules
│ ├── models/ # Business logic and relationships
│ ├── controllers/ # Request handlers
│ ├── dtos/ # Data transfer objects
│ ├── factories/ # Test data factories
│ └── seeders/ # Database seeders
├── framework/ # Core framework components
└── web.rs # Route definitions
For detailed documentation, please visit:
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.