Skip to main content

Crate phoenix

Crate phoenix 

Source

Re-exports§

pub use phoenix_auth as auth;
pub use phoenix_config as config;
pub use phoenix_console as console;
pub use phoenix_runtime as core;
pub use phoenix_crypto as crypto;
pub use phoenix_database as database;
pub use phoenix_dx as dx;
pub use phoenix_http as http;
pub use phoenix_logging as logging;
pub use phoenix_metrics as metrics;
pub use phoenix_plugin as plugin;
pub use phoenix_routing as routing;
pub use phoenix_security as security;
pub use phoenix_validation as validation;
pub use phoenix_view as view;

Modules§

prelude

Macros§

applications
Build a multi-application server from concise module declarations.
commands
Register application commands without clap boilerplate.
mount_routes
Discover sorted *.rs files below the application’s route directory and merge the pub fn routes() -> Routes value exported by each file.
routes
Declare a route collection without repeating the builder variable.

Attribute Macros§

contract
Mark a Rust DTO as a Phoenix input, resource, page, or shared contract.