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

Stabilize some of the foundational types in a separate crate #1196

Closed
dtolnay opened this Issue May 31, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@dtolnay
Copy link

dtolnay commented May 31, 2017

The current situation is:

  • Reqwest would like to release a stable version.
  • Currently reqwest re-exports the Method, StatusCode, and HttpVersion types from hyper, so it couldn't be stable until hyper is stable.
  • Stable hyper is waiting on stable tokio.
  • Stable tokio is not imminent.

Let's extract these foundational types into a separate crate that we can stabilize sooner than all of hyper.

@theduke

This comment has been minimized.

Copy link

theduke commented May 31, 2017

I would suggest to try and use the http crate name for this.

It already exists, https://crates.io/crates/http , but the owner could hopefully persuaded to give it up.

@seanmonstar

This comment has been minimized.

Copy link
Member

seanmonstar commented May 31, 2017

Yes, we would. We've been in contact with the owner, he specifically reserved it for just such an effort.

However, it's probably a bit ambitious to stabilize an http crate super quickly, so for reqwest, it will likely just define its own types, and we'll hope that an eventual http crate mirrors what it has.

@jimmycuadra

This comment has been minimized.

Copy link

jimmycuadra commented Jun 2, 2017

Possible dupe of #894?

@seanmonstar

This comment has been minimized.

Copy link
Member

seanmonstar commented Jun 2, 2017

Yes, dupe, so I'm going to close. There's issues opened in reqwest crate about implementing those primitives there.

@seanmonstar seanmonstar closed this Jun 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.