-
Notifications
You must be signed in to change notification settings - Fork 298
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
feat: bring back TryFrom<Bytes>
implementations
#470
base: master
Are you sure you want to change the base?
Conversation
Rebased onto master and updated the commit to retain |
9ceb094
to
26a0c58
Compare
Rebased onto master and replaced the internal Also, I've added a commit to remove the |
TryFrom<Bytes>
implementationsTryFrom<Bytes>
implementations
@seanmonstar Sorry for the ping, but I believe this needs a decision, be it for or against, before the v1.0 release, since the PR contains a breaking change. |
What's the breakage? The removal of |
All right. Then, I'll revert the removal of |
26a0c58
to
abeb9fe
Compare
Removed the commit to remove the The CI failure is of the Nightly one and I haven't touched anything related to the |
This is mostly a revert of commit 4ce5e6a, but this does not bring back the error variants suffixed with `Bytes` (db9b1b9). This also adds `HeaderValue::from_shared_unchecked` constructor, which corresponds to the `from_maybe_shared_unchecked` constructor, and replaces usage of the internal `from_shared` associated functions with `try_from`. Closes <hyperium#459>.
abeb9fe
to
835ca28
Compare
This is mostly a revert of commit 4ce5e6a, but this does not bring back the error variants suffixed with
Bytes
(db9b1b9).This also replaces usages of the internal
from_shared
associated functions withtry_from
.Closes #459.