mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
8 lines
104 B
Rust
8 lines
104 B
Rust
use axum::extract::FromRef;
|
|
|
|
#[derive(Clone, FromRef)]
|
|
struct AppState<T> {
|
|
foo: T,
|
|
}
|
|
|
|
fn main() {}
|