reinhardt-web 0.2.0

A full-stack API framework for Rust, inspired by Django and Django REST Framework
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Dependency injection module.
//!
//! This module provides FastAPI-style dependency injection system
//! and parameter extraction.
//!
//! # Examples
//!
//! ```rust,ignore
//! use reinhardt::di::{Injected, Injectable};
//! ```

#[cfg(feature = "di")]
pub use reinhardt_di::*;

// Re-export reinhardt-di types for macro compatibility
#[cfg(feature = "di")]
pub use reinhardt_di::{DiError, DiResult, Injectable, InjectionContext, InjectionMetadata};