From 80d5062bcb03e259af285fdf44d6f6028c244625 Mon Sep 17 00:00:00 2001 From: Abdo Date: Wed, 31 Dec 2025 09:00:41 +0300 Subject: [PATCH] Fix lints --- Cargo.toml | 4 +-- cargo/licenses.json | 64 ++++++--------------------------------------- rslib/Cargo.toml | 4 +-- 3 files changed, 12 insertions(+), 60 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe1555726..fc9a6cdf2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,6 +85,8 @@ globset = "0.4.16" hex = "0.4.3" htmlescape = "0.3.1" hyper = "1" +icu_properties = "2.1.2" +icu_properties_data = "2.1.2" id_tree = "1.8.0" inflections = "1.1.1" intl-memoizer = "0.5.3" @@ -136,8 +138,6 @@ tracing = { version = "0.1.41", features = ["max_level_trace", "release_max_leve tracing-appender = "0.2.3" tracing-subscriber = { version = "0.3.20", features = ["fmt", "env-filter"] } unic-langid = { version = "0.9.6", features = ["macros"] } -icu_properties_data = "2.1.2" -icu_properties = "2.1.2" unicode-normalization = "0.1.24" walkdir = "2.5.0" which = "8.0.0" diff --git a/cargo/licenses.json b/cargo/licenses.json index 53b832fda..f50fae00a 100644 --- a/cargo/licenses.json +++ b/cargo/licenses.json @@ -2215,14 +2215,6 @@ "name": "matchers", "repository": "https://github.com/hawkw/matchers" }, - { - "authors": null, - "description": "A macro to evaluate, as a boolean, whether an expression matches a pattern.", - "license": "MIT", - "license_file": null, - "name": "matches", - "repository": "https://github.com/SimonSapin/rust-std-candidates" - }, { "authors": "Ibraheem Ahmed ", "description": "A high performance, zero-copy URL router.", @@ -3263,14 +3255,6 @@ "name": "rustls-native-certs", "repository": "https://github.com/rustls/rustls-native-certs" }, - { - "authors": null, - "description": "Basic .pem file parser for keys and certificates", - "license": "Apache-2.0 OR ISC OR MIT", - "license_file": null, - "name": "rustls-pemfile", - "repository": "https://github.com/rustls/pemfile" - }, { "authors": null, "description": "Shared types for the rustls PKI ecosystem", @@ -3431,6 +3415,14 @@ "name": "serde_bytes", "repository": "https://github.com/serde-rs/bytes" }, + { + "authors": "Erick Tryzelaar |David Tolnay ", + "description": "Serde traits only, with no support for derive -- use the `serde` crate instead", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "name": "serde_core", + "repository": "https://github.com/serde-rs/serde" + }, { "authors": "Erick Tryzelaar |David Tolnay ", "description": "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]", @@ -4071,30 +4063,6 @@ "name": "ug", "repository": "https://github.com/LaurentMazare/ug" }, - { - "authors": "The UNIC Project Developers", - "description": "UNIC — Unicode Character Tools — Character Property taxonomy, contracts and build macros", - "license": "Apache-2.0 OR MIT", - "license_file": null, - "name": "unic-char-property", - "repository": "https://github.com/open-i18n/rust-unic/" - }, - { - "authors": "The UNIC Project Developers", - "description": "UNIC — Unicode Character Tools — Character Range and Iteration", - "license": "Apache-2.0 OR MIT", - "license_file": null, - "name": "unic-char-range", - "repository": "https://github.com/open-i18n/rust-unic/" - }, - { - "authors": "The UNIC Project Developers", - "description": "UNIC — Common Utilities", - "license": "Apache-2.0 OR MIT", - "license_file": null, - "name": "unic-common", - "repository": "https://github.com/open-i18n/rust-unic/" - }, { "authors": "Zibi Braniecki ", "description": "API for managing Unicode Language Identifiers", @@ -4127,22 +4095,6 @@ "name": "unic-langid-macros-impl", "repository": "https://github.com/zbraniecki/unic-locale" }, - { - "authors": "The UNIC Project Developers", - "description": "UNIC — Unicode Character Database — General Category", - "license": "Apache-2.0 OR MIT", - "license_file": null, - "name": "unic-ucd-category", - "repository": "https://github.com/open-i18n/rust-unic/" - }, - { - "authors": "The UNIC Project Developers", - "description": "UNIC — Unicode Character Database — Version", - "license": "Apache-2.0 OR MIT", - "license_file": null, - "name": "unic-ucd-version", - "repository": "https://github.com/open-i18n/rust-unic/" - }, { "authors": "Sean McArthur ", "description": "A case-insensitive wrapper around strings.", diff --git a/rslib/Cargo.toml b/rslib/Cargo.toml index 1639ac941..4c06a0afd 100644 --- a/rslib/Cargo.toml +++ b/rslib/Cargo.toml @@ -68,6 +68,8 @@ futures.workspace = true hex.workspace = true htmlescape.workspace = true hyper.workspace = true +icu_properties.workspace = true +icu_properties_data.workspace = true id_tree.workspace = true itertools.workspace = true nom.workspace = true @@ -102,8 +104,6 @@ tower-http.workspace = true tracing.workspace = true tracing-appender.workspace = true tracing-subscriber.workspace = true -icu_properties_data.workspace = true -icu_properties.workspace = true unicase.workspace = true unicode-normalization.workspace = true zip.workspace = true