http-rs / http-types

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

Allow omitting cookie support, with a new "cookies" feature #306

Closed joshtriplett closed 3 years ago

joshtriplett commented 3 years ago

The "cookie" crate introduces a substantial dependency tree. Allow people to omit that dependency if they don't need it.

joshtriplett commented 3 years ago

After this, I'd like to change async-h1 to use default-features = false on http-types, and change tide to only depend on http-types/cookies if its own cookies feature is set.

joshtriplett commented 3 years ago

@yoshuawuyts Thanks! Would it be possible to get a new http-types upload, to allow tide to make use of this change?

yoshuawuyts commented 3 years ago

We do monthly releases for all the main http-rs libraries, with the next release of http-types planned for the week of January 10th.

Usually I wouldn't mind doing a patch release if requested, but I'm actually planning to spend the holidays away from the computer. Hopefully that's not too late!