wire-framework 0.1.0

A DI library for Rust
Documentation
pub mod resource;
pub mod service;
pub mod task;
pub mod wiring_layer;

pub mod utils;

/// Derive macro for the `FromContext` trait.
pub use wire_framework_derive::FromContext;
/// Derive macro for the `IntoContext` trait.
pub use wire_framework_derive::IntoContext;

pub use self::{
    resource::Resource,
    service::{FromContext, IntoContext, StopReceiver},
    task::{Task, TaskId},
    wiring_layer::{WiringError, WiringLayer},
};

#[cfg(feature = "vlog")]
pub mod vlog;

#[cfg(feature = "health_check")]
pub mod health_check;