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

Add Cargo feature `query_encoding_2` to use `encoding_rs` crate #446

Closed
wants to merge 5 commits into from

Conversation

@talklittle
Copy link

talklittle commented Apr 6, 2018

This attempt is substantially different than the previous approach in #445, so opening a separate PR.

Converts EncodingOverride to a trait, but does not go so far as to export the trait to downstream consumers. Instead, the exported API now takes a &[u8] encoding label where it used to take encoding::EncodingRef. The old methods are still present, but deprecated.

Fixes #444


This change is Reviewable

talklittle added 5 commits Apr 6, 2018
enable feature to use encoding_rs implementation
for EncodingOverride

includes Cow optimizations by @hsivonen.
hides upstream types from downstream consumers.

also deprecate `query_encoding` feature since it
exposes upstream types.
due to EncodingOverride trait
@bors-servo
Copy link
Contributor

bors-servo commented Jun 27, 2018

The latest upstream changes (presumably #453) made this pull request unmergeable. Please resolve the merge conflicts.

@SimonSapin SimonSapin mentioned this pull request Oct 17, 2018
17 of 42 tasks complete
@nox
Copy link
Member

nox commented Jul 18, 2019

The crate doesn't depending on any encoding-related crate anymore, closing.

@nox nox closed this Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

3 participants
You can’t perform that action at this time.