Expand description
§Rustisan Core
The core of the Rustisan web framework, inspired by Laravel. This crate provides the fundamental components for building modern web applications in Rust.
Re-exports§
pub use app::Application;pub use config::Config;pub use container::Container;pub use errors::RustisanError;pub use errors::Result;pub use errors::ValidationErrors;pub use errors::ValidationErrorDetails;pub use http::Request;pub use http::Response;pub use routing::Router;pub use routing::Route;pub use routing::RouteGroup;pub use routing::RouteHandler;pub use axum;pub use serde;pub use serde_json;pub use tokio;pub use uuid;pub use chrono;
Modules§
- app
- Application module for the Rustisan framework
- config
- Configuration module for the Rustisan framework
- container
- Simple container module placeholder
- errors
- Error handling module for the Rustisan framework
- http
- HTTP module for the Rustisan framework
- middleware
- Middleware module placeholder
- routing
- Routing module for the Rustisan framework
- traits
- Common traits for the Rustisan framework
- utils
- Utility functions and helpers for the Rustisan framework
Macros§
- impl_
model - Macro to implement the Model trait with basic functionality
- impl_
service - Macro to implement the Service trait for a type
- route_
group - Macro to simplify route group registration
- routes
- Macro to simplify route registration
- rustisan_
app - Macro to create a new Rustisan application
- rustisan_
error - Macro for creating RustisanError quickly
- validation_
error - Macro for creating validation errors quickly
Constants§
- VERSION
- Framework version
Traits§
- Rustisan
App - Main trait for Rustisan applications
Functions§
- create_
app - Utility function to create a new Rustisan application
- create_
app_ with_ config - Utility function to create a new Rustisan application with configuration
- init_
logging - Utility function to initialize logging