1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! RustIO — a batteries-included web framework for Rust.
//!
//! Typical usage goes through the `rustio` CLI, which scaffolds projects
//! that depend on this crate. See <https://github.com/abdulwahed-sweden/rustio>.
//!
//! The headline modules:
//!
//! - [`http`] — [`Request`], [`Response`], response builders, form/query parsing.
//! - [`router`] — path matching (`:param`) and request dispatch.
//! - [`middleware`] — around-style middleware with [`Next`].
//! - [`context`] — typed per-request storage.
//! - [`error`] — unified [`Error`] enum and safety-net conversion.
//! - [`auth`] — identity in context, `require_auth` / `require_admin` helpers.
//! - [`orm`] — SQLite-backed [`Model`] trait with `find` / `all` / `create` / `update` / `delete`.
//! - [`admin`] — auto-generated CRUD UI for structs deriving [`RustioAdmin`].
//! - [`migrations`] — versioned `.sql` files tracked in `rustio_migrations`.
//! - [`server`] — hyper-backed [`Server`] that serves a router.
pub use Identity;
// Re-export the chrono types user models reach for. This lets generated
// and user code write `use rustio_core::{DateTime, Utc};` without adding
// chrono to their own `Cargo.toml`.
pub use ;
pub use Context;
pub use ;
pub use ;
pub use Next;
pub use ;
pub use ;
pub use RustioAdmin;
pub use Schema;
pub use Server;