axum/examples/tracing-aka-logging/src/ma...
Thanks. I'm trying to get this working combined with the tracing example in the axum repo https://github.com/tokio-rs/axum/blob/main/examples/tracing-aka-logging/src/main.rs
When I add
TraceLayer::new_for_http()
to my router I get a runtime panic saying time not implemented on this platform
. Makes sense of course but I wonder if we can get that working some other way.GitHub
axum/examples/tracing-aka-logging/src/main.rs at main · tokio-rs/axum
Ergonomic and modular web framework built with Tokio, Tower, and Hyper - tokio-rs/axum
2 Replies
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
It's probably tower-http that's not wasm-compatible