Skip to content

Add Cargo feature query_encoding_2 to use encoding_rs crate #446

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

Closed
wants to merge 5 commits into from

Conversation

talklittle
Copy link

@talklittle 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

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

☔ 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
42 tasks
@nox
Copy link
Contributor

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to encoding_rs crate?
3 participants