Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional Features #614

Closed
4 tasks done
seanmonstar opened this issue Sep 6, 2019 · 2 comments
Closed
4 tasks done

Optional Features #614

seanmonstar opened this issue Sep 6, 2019 · 2 comments
Labels
B-rfc Blocked: Request for comments. More discussion would help move this along.
Milestone

Comments

@seanmonstar
Copy link
Owner

seanmonstar commented Sep 6, 2019

In the next breaking release, for the sake of reducing dependencies when someone doesn't need something, we can put many things behind optional cargo features. Here's a list I've thought of, though I'm less certain which should be enabled by default.

  • json: Both sending and receiving JSON bodies.
  • cookies: The cookie store integration.
  • gzip: Response body GZIP decoding.
  • blocking: The current blocking Client (which is built on top of the async client).
@seanmonstar seanmonstar added the B-rfc Blocked: Request for comments. More discussion would help move this along. label Sep 6, 2019
@seanmonstar seanmonstar added this to the 0.10 milestone Sep 6, 2019
@pfernie
Copy link
Contributor

pfernie commented Sep 6, 2019

I think cookie would be fine to make non-default; it pulls in a fair few dependencies.

@seanmonstar
Copy link
Owner Author

These are all done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-rfc Blocked: Request for comments. More discussion would help move this along.
Projects
None yet
Development

No branches or pull requests

2 participants