I would suppose that hyper-util would be good to allow users to enable http1 or/and http2 feature separately when using server-auto feature (although it is a breaking change). As hyper-util uses Service and HttpService to implement server-auto feature, these traits are required without http{1,2} features. Since these traits do not actually require optional dependencies, the drawback to expose them seems small comparing the benefit.
I would suppose that
hyper-util
would be good to allow users to enablehttp1
or/andhttp2
feature separately when usingserver-auto
feature (although it is a breaking change). Ashyper-util
usesService
andHttpService
to implementserver-auto
feature, these traits are required withouthttp{1,2}
features. Since these traits do not actually require optional dependencies, the drawback to expose them seems small comparing the benefit.