mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-25 16:47:34 +01:00
11 lines
158 B
Rust
11 lines
158 B
Rust
|
use axum_macros::FromRef;
|
||
|
|
||
|
#[derive(Clone, FromRef)]
|
||
|
struct AppState {
|
||
|
auth_token: String,
|
||
|
#[from_ref(skip)]
|
||
|
also_string: String,
|
||
|
}
|
||
|
|
||
|
fn main() {}
|