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

Using unmaintained crate hyper-old-types #63

Closed
jplatte opened this issue Dec 21, 2020 · 2 comments
Closed

Using unmaintained crate hyper-old-types #63

jplatte opened this issue Dec 21, 2020 · 2 comments

Comments

@jplatte
Copy link

jplatte commented Dec 21, 2020

The hyper-old-types crate is rather old by now and pulls in various old versions of other crates.

I'd recommend you either drop the usage of typed headers entirely (AFAICT the only use of hyper-old-types in this crate is two headers) or update the headers crate which is the continuation of hyper's previous typed-headers API to work for your needs (hyperium/headers#76).

@jaemk
Copy link
Owner

jaemk commented Jan 7, 2021

Where in the world did these old types go? use hyper_old_types::header::{LinkValue, RelationType}; Looks like they were in hyper up until around v0.11 . Maybe it was the transition to the http crate, which seems like it doesn't include structured link headers 🤔

@jplatte
Copy link
Author

jplatte commented Jan 7, 2021

AFAIK it was a decision independent of moving to the http crate to drop typed headers as many people were looking for a simpler way of handling headers and they were determined to not pull their weight as a built-in feature or sth. like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants