:sparkles!: add async-trait dependency for WebAppExt trait

- Add `async_trait` as an optional依赖ency in pmoapp/Cargo.toml
- Enable usage of `#[async_trait]` on WebAppExt trait and its impl for Server
- Guard async-related code with `#[cfg(feature = "pmoserver")]`
This commit is contained in:
2026-04-04 00:34:55 +02:00
parent 6352a43e27
commit d81e7a9413
4 changed files with 14 additions and 1 deletions

1
Cargo.lock generated
View File

@@ -3848,6 +3848,7 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
name = "pmoapp"
version = "0.1.0"
dependencies = [
"async-trait",
"pmoserver",
"rust-embed",
]