Expand description
rustlavel-core: the foundation every rustlavel package builds on.
Configuration and .env loading, the JSON value model, the typed
application context that replaces Laravel’s service container, structured
logging, and the instrumentation bus that Telescope and tracing listen on.
Re-exports§
pub use config::Config;pub use context::Context;pub use context::ContextBuilder;pub use dispatcher::AppEvent;pub use dispatcher::Dispatcher;pub use error::Error;pub use error::Result;pub use events::Event;pub use json::Json;
Modules§
- config
- Configuration:
config.get("app.name"). - context
- The application context: configuration plus shared, typed state.
- dispatcher
- Application events and listeners.
- env
- Our own
.envloader. - error
- events
- The internal instrumentation bus.
- json
- A self-contained JSON implementation: value model, parser, and serializer.
- log
- Leveled logging that doubles as instrumentation.
Macros§
Functions§
- boot
- Load
.envand build the default configuration tree.