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-utilwould be good to allow users to enablehttp1or/andhttp2feature separately when usingserver-autofeature (although it is a breaking change). Ashyper-utilusesServiceandHttpServiceto implementserver-autofeature, 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.