Skip to main content

Crate doido_core

Crate doido_core 

Source

Re-exports§

pub use environment::Environment;
pub use error::Result;
pub use inflector::init_inflections;
pub use inflector::load_inflections;
pub use inflector::InflectionConfig;
pub use inflector::Inflections;
pub use inflector::Inflector;
pub use logger::init as init_logger;
pub use logger::LogFormat;
pub use logger::LoggerConfig;
pub use ::anyhow;
pub use ::serde;
pub use ::thiserror;
pub use ::tracing;

Modules§

concerns
The concern/mixin pattern (Rails ActiveSupport::Concern).
core_ext
Core extensions (Rails blank?/present? and friends).
crypto
Authenticated encryption (AES-256-GCM) for cookies and credentials.
environment
Runtime environment selection, driven by the DOIDO_ENV variable.
error
inflector
logger
Centralized logging setup for the whole framework.
notifications
A lightweight instrumentation bus (Rails ActiveSupport::Notifications).
test_time
Test time control (Rails travel_to / travel).
time_ext
Time/date conveniences (Rails 2.days.ago, beginning_of_day, …).
trace

Traits§

AnyhowContext
Provides the context method for Result.

Attribute Macros§

async_trait