Skip to main content

Crate luxid_core

Crate luxid_core 

Source
Expand description

Core runtime for the Luxid web framework.

Applications depend on the luxid facade crate rather than on this one.

Re-exports§

pub use app::App;
pub use auth::Auth;
pub use auth::Hash;
pub use auth::Identity;
pub use auth::Jwt;
pub use config::Config;
pub use container::Container;
pub use container::Lifetime;
pub use container::Providers;
pub use context::Extensions;
pub use context::HttpContext;
pub use context::Params;
pub use error::Error;
pub use error::Result;
pub use error::ValidationErrors;
pub use http::Body;
pub use http::Cookie;
pub use http::Request;
pub use http::Response;
pub use http::SameSite;
pub use inertia::Inertia;
pub use inertia::InertiaRequest;
pub use middleware::Action;
pub use middleware::BoxFuture;
pub use middleware::Middleware;
pub use middleware::Next;
pub use openapi::Operation;
pub use openapi::ResponseSpec;
pub use router::Method;
pub use router::ResourceRoutes;
pub use router::Route;
pub use router::RouteInfo;
pub use router::Router;
pub use session::MemoryStore;
pub use session::Session;
pub use session::SessionData;
pub use session::SessionStore;
pub use validation::Validate;
pub use validation::validate;

Modules§

adapter
The salvo bridge. This is the only module in Luxid that knows salvo exists.
app
Application assembly and startup.
auth
Authentication: password hashing, tokens, and the request’s identity.
config
Application configuration.
container
The service container.
context
HttpContext — the single argument every Luxid action receives.
error
The single error type every Luxid action can ? on.
http
inertia
The server half of the Inertia.js protocol.
middleware
The middleware chain.
openapi
OpenAPI 3.1 generation.
router
Explicit route registration.
session
Server-side sessions.
validation
Form-request validation.