hyperium / hyper

An HTTP library for Rust
https://hyper.rs
MIT License
14.08k stars 1.55k forks source link

feat(service): expose Service and HttpService trait unconditionally #3591

Closed tottoto closed 2 months ago

tottoto commented 3 months ago

Exposes Service and HttpService trait unconditionally.

refs: #3590

dswij commented 3 months ago

What's the benefit of having this without http1/http2?

tottoto commented 3 months ago

I think it would be a benefit in the cases that crates which collaborate with hyper need to use service and do not themselves use the others in http1 or http2 features.