Crate rustnext

Source

Re-exports§

pub use app::App;
pub use router::Router;
pub use router::Route;
pub use handler::Handler;
pub use middleware::Middleware;
pub use middleware::Logger;
pub use middleware::Cors;
pub use request::Request;
pub use response::Response;
pub use server::Server;
pub use error::AppError;
pub use error::IntoResponse;
pub use logging::init_logging;
pub use config::get_config;
pub use config::init_config;
pub use database::get_database;
pub use database::init_database;
pub use cache::get_cache;
pub use cache::init_cache;
pub use ui::*;
pub use forms::*;
pub use api::*;
pub use config::*;
pub use assets::*;

Modules§

api
app
assets
auth
cache
compression
config
database
dev
error
file_upload
forms
handler
logging
metrics
middleware
request
response
router
server
session
static_files
template
ui

Macros§

api_route
component
json
Construct a serde_json::Value from a JSON literal.
page
register_component
register_page

Structs§

Body
A stream of Bytes, used when receiving bodies.
Method
The Request Method (VERB)
StatusCode
An HTTP status code (status-code in RFC 7230 et al.).

Enums§

Value
Represents any valid JSON value.

Traits§

Deserialize
A data structure that can be deserialized from any data format supported by Serde.
Serialize
A data structure that can be serialized into any data format supported by Serde.

Attribute Macros§

async_trait

Derive Macros§

Deserialize
Serialize