logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

Super heavy generic on HTTP lib makes debugging hard

50 points tison1096 2024-05-25 17:45:02
View on Reddit ↗

I wonder if one can handle this type hell. Rust's HTTP library has a lot of traits and/or structs naming in the pattern Request / Response / Body and you never know how an intermediate type suddenly automatically breaks all the type requirements

https://github.com/tokio-rs/axum/discussions/2747

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com