Expand description
Dependency injection container for hexagonal architecture components.
Provides zero-boilerplate dependency management with lifetime scoping, thread-safe service resolution, and compile-time circular dependency detection. Follows hexagonal architecture principles where the container itself is an infrastructure concern that manages domain, port, and adapter instances.
Revision History
- 2025-10-02T20:30:00Z @AI: Add async provider support for Phase 6.2.
- 2025-10-02T20:00:00Z @AI: Initial Phase 6 container module implementation.
Re-exports§
pub use self::container::Container;pub use self::container_error::ContainerError;pub use self::provider::Provider;pub use self::scope::Scope;pub use self::async_provider::AsyncProvider;
Modules§
- async_
provider - Async provider trait for creating service instances asynchronously.
- container
- Dependency injection container implementation with async support.
- container_
error - Container-specific error types.
- provider
- Provider trait for creating service instances.
- scope
- Service lifetime scope enumeration.