alyssais / alyssais/hyper-stub
Consider directly using http crate types over hyper re-exports
- Dominant language
- Rust
- Stars
- 11
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
For the *http* crate types `Request`, `Response`, `HeaderMap`, etc, while these types are also re-exported by *hyper*, I think the *http* crate docs are better as a whole, and its less cognitive burden to reference these types directly, in your top level usage example and code. The same argument could be made for the *futures* and *tokio* crate types, though *http* was the first I noticed.
This said, I've developed some bias against broad use of re-exports, so I'd also appreciate hearing reasonable arguments for using those re-exports, and would encourage you to collect other opinions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.