mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-02 23:34:47 +00:00
9 lines
104 B
Rust
9 lines
104 B
Rust
use axum::extract::FromRef;
|
|
|
|
#[derive(Clone, FromRef)]
|
|
struct AppState<T> {
|
|
foo: T,
|
|
}
|
|
|
|
fn main() {}
|