-
Notifications
You must be signed in to change notification settings - Fork 68
Fix clippy warnings and update dependencies #127
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "git.ignoreLimitWarning": true, | ||
| "files.eol": "\n", | ||
| "editor.formatOnSave": true, | ||
| "files.exclude": { | ||
| "tmp/**": true | ||
| }, | ||
| "[python]": { | ||
| "editor.defaultFormatter": "ms-python.black-formatter" | ||
| }, | ||
| "[markdown]": { | ||
| "editor.formatOnSave": true, | ||
| "editor.formatOnPaste": true | ||
| }, | ||
| "markdownlint.config": { | ||
| "MD013": false, | ||
| "MD024": false | ||
| }, | ||
| "cSpell.diagnosticLevel": "Hint", | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,30 @@ | ||
| [package] | ||
| name = "encoding_rs" | ||
| name = "encoding_rs2" | ||
| description = "A Gecko-oriented implementation of the Encoding Standard" | ||
| version = "0.8.35" | ||
| edition = '2018' | ||
| version = "0.8.36" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You probably shouldn't bump the version number in a pull request, especially in a commit with changes other than just bumping the version. hsivonen has previously bumped the version while tagging a release, uploading to crates.io, and so on: |
||
| edition = '2024' | ||
| authors = ["Henri Sivonen <hsivonen@hsivonen.fi>"] | ||
| license = "(Apache-2.0 OR MIT) AND BSD-3-Clause" | ||
| include = ["src/**/*.rs", "/data", "Cargo.toml", "COPYRIGHT", "LICENSE*", "README.md"] | ||
| include = [ | ||
| "src/**/*.rs", | ||
| "/data", | ||
| "Cargo.toml", | ||
| "COPYRIGHT", | ||
| "LICENSE*", | ||
| "README.md", | ||
| ] | ||
| readme = "README.md" | ||
| documentation = "https://docs.rs/encoding_rs/" | ||
| homepage = "https://docs.rs/encoding_rs/" | ||
| repository = "https://github.com/hsivonen/encoding_rs" | ||
| repository = "https://github.com/brmmm3/encoding_rs" | ||
| keywords = ["encoding", "web", "unicode", "charset"] | ||
| categories = ["text-processing", "encoding", "web-programming", "internationalization"] | ||
| rust-version = "1.40" | ||
| categories = [ | ||
| "text-processing", | ||
| "encoding", | ||
| "web-programming", | ||
| "internationalization", | ||
| ] | ||
| rust-version = "1.86" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the rationale for bumping to rust-version 1.86? Is there an important feature there? Note that Debian stable (trixie) currently ships rustc 1.85: https://packages.debian.org/trixie/rustc, that 1 in 5 requests to crates.io are made with a stable Rust version older than 1.86: https://lib.rs/stats#rustc, and that Rust Edition 2024 shipped with Rust 1.85. Please remember to update the README's references to the MSRV when bumping it, as was done previously in the bump from 1.36 to 1.40: #111 |
||
|
|
||
| [features] | ||
| default = ["alloc"] | ||
|
|
@@ -26,20 +38,22 @@ fast-hanja-encode = [] | |
| fast-kanji-encode = [] | ||
| fast-gb-hanzi-encode = [] | ||
| fast-big5-hanzi-encode = [] | ||
| fast-legacy-encode = ["fast-hangul-encode", | ||
| "fast-hanja-encode", | ||
| "fast-kanji-encode", | ||
| "fast-gb-hanzi-encode", | ||
| "fast-big5-hanzi-encode"] | ||
| fast-legacy-encode = [ | ||
| "fast-hangul-encode", | ||
| "fast-hanja-encode", | ||
| "fast-kanji-encode", | ||
| "fast-gb-hanzi-encode", | ||
| "fast-big5-hanzi-encode", | ||
| ] | ||
|
|
||
| [dependencies] | ||
| cfg-if = "1.0" | ||
| serde = { version = "1.0", optional = true } | ||
| any_all_workaround = { version = "0.1.0" , optional = true } | ||
| any_all_workaround = { version = "0.1.0", optional = true } | ||
|
|
||
| [dev-dependencies] | ||
| serde_derive = "1.0" | ||
| bincode = "1.0" | ||
| bincode = "2.0" | ||
| serde_json = "1.0" | ||
|
|
||
| [profile.release] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.vscode/settings.json seems unrelated to "Further fixes."
Perhaps this should be a separate commit or PR?