http-rs / http-types

Common types for HTTP operations
https://docs.rs/http-types
Apache License 2.0
200 stars 83 forks source link

Remove http header re-exports from crate root #264

Closed yoshuawuyts closed 3 years ago

yoshuawuyts commented 3 years ago

We currently export the following headers from the crate root:

Screenshot_2020-10-31 http_types - Rust(2)

A majority of these are re-exports from our sub-modules. As our index is growing because of the addition of a variety of typed headers I would like to trim down some of these re-exports and leave them accessible only as part of the sub-modules. The types to keep would be only the types required to construct a request / response, or types that don't currently already have a dedicated submodule:

keep

move to submodule

brightly-salty commented 3 years ago

I'd be willing to attempt to implement this and submit a PR. Is this what is needed?

yoshuawuyts commented 3 years ago

@brightly-salty yes indeed!

joshtriplett commented 3 years ago

Fixed by #305.