auto-di 0.4.0

Ergonomic async-aware automatic dependency injection for Rust
Documentation
1
2
3
4
5
6
use crate::DiError;

/// Binds a strongly typed configuration value from the environment.
pub trait ConfigurationProperties: Sized {
    fn from_environment() -> Result<Self, DiError>;
}