build(deps): bump schemars, quick-xml & windows (#6928)

This commit is contained in:
David Knaack
2025-09-11 22:05:38 +02:00
committed by GitHub
parent f04362e84b
commit d85ee0a18c
6 changed files with 289 additions and 279 deletions
+181 -255
View File
File diff suppressed because it is too large Load Diff
Generated
+101 -18
View File
@@ -1832,7 +1832,7 @@ dependencies = [
"js-sys",
"log",
"wasm-bindgen",
"windows-core",
"windows-core 0.61.2",
]
[[package]]
@@ -2995,9 +2995,9 @@ dependencies = [
[[package]]
name = "schemars"
version = "0.9.0"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f"
checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0"
dependencies = [
"dyn-clone",
"indexmap",
@@ -3009,9 +3009,9 @@ dependencies = [
[[package]]
name = "schemars_derive"
version = "0.9.0"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5016d94c77c6d32f0b8e08b781f7dc8a90c2007d4e77472cc2807bc10a8438fe"
checksum = "33d020396d1d138dc19f1165df7545479dcd58d93810dc5d646a16e55abefa80"
dependencies = [
"proc-macro2",
"quote",
@@ -3273,7 +3273,7 @@ dependencies = [
"pest",
"pest_derive",
"process_control",
"quick-xml 0.37.5",
"quick-xml 0.38.3",
"rand 0.9.2",
"rayon",
"regex",
@@ -3298,7 +3298,7 @@ dependencies = [
"versions",
"which",
"whoami",
"windows",
"windows 0.62.0",
"winres",
"yaml-rust2",
]
@@ -3388,7 +3388,7 @@ checksum = "0b1e66e07de489fe43a46678dd0b8df65e0c973909df1b60ba33874e297ba9b9"
dependencies = [
"quick-xml 0.37.5",
"thiserror 2.0.16",
"windows",
"windows 0.61.3",
"windows-version",
]
@@ -4006,11 +4006,24 @@ version = "0.61.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893"
dependencies = [
"windows-collections",
"windows-core",
"windows-future",
"windows-collections 0.2.0",
"windows-core 0.61.2",
"windows-future 0.2.1",
"windows-link 0.1.3",
"windows-numerics",
"windows-numerics 0.2.0",
]
[[package]]
name = "windows"
version = "0.62.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9579d0e6970fd5250aa29aba5994052385ff55cf7b28a059e484bb79ea842e42"
dependencies = [
"windows-collections 0.3.0",
"windows-core 0.62.0",
"windows-future 0.3.0",
"windows-link 0.2.0",
"windows-numerics 0.3.0",
]
[[package]]
@@ -4019,7 +4032,16 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8"
dependencies = [
"windows-core",
"windows-core 0.61.2",
]
[[package]]
name = "windows-collections"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a90dd7a7b86859ec4cdf864658b311545ef19dbcf17a672b52ab7cefe80c336f"
dependencies = [
"windows-core 0.62.0",
]
[[package]]
@@ -4031,8 +4053,21 @@ dependencies = [
"windows-implement",
"windows-interface",
"windows-link 0.1.3",
"windows-result",
"windows-strings",
"windows-result 0.3.4",
"windows-strings 0.4.2",
]
[[package]]
name = "windows-core"
version = "0.62.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57fe7168f7de578d2d8a05b07fd61870d2e73b4020e9f49aa00da8471723497c"
dependencies = [
"windows-implement",
"windows-interface",
"windows-link 0.2.0",
"windows-result 0.4.0",
"windows-strings 0.5.0",
]
[[package]]
@@ -4041,9 +4076,20 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e"
dependencies = [
"windows-core",
"windows-core 0.61.2",
"windows-link 0.1.3",
"windows-threading",
"windows-threading 0.1.0",
]
[[package]]
name = "windows-future"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2194dee901458cb79e1148a4e9aac2b164cc95fa431891e7b296ff0b2f1d8a6"
dependencies = [
"windows-core 0.62.0",
"windows-link 0.2.0",
"windows-threading 0.2.0",
]
[[package]]
@@ -4086,10 +4132,20 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1"
dependencies = [
"windows-core",
"windows-core 0.61.2",
"windows-link 0.1.3",
]
[[package]]
name = "windows-numerics"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ce3498fe0aba81e62e477408383196b4b0363db5e0c27646f932676283b43d8"
dependencies = [
"windows-core 0.62.0",
"windows-link 0.2.0",
]
[[package]]
name = "windows-result"
version = "0.3.4"
@@ -4099,6 +4155,15 @@ dependencies = [
"windows-link 0.1.3",
]
[[package]]
name = "windows-result"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f"
dependencies = [
"windows-link 0.2.0",
]
[[package]]
name = "windows-strings"
version = "0.4.2"
@@ -4108,6 +4173,15 @@ dependencies = [
"windows-link 0.1.3",
]
[[package]]
name = "windows-strings"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda"
dependencies = [
"windows-link 0.2.0",
]
[[package]]
name = "windows-sys"
version = "0.52.0"
@@ -4186,6 +4260,15 @@ dependencies = [
"windows-link 0.1.3",
]
[[package]]
name = "windows-threading"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab47f085ad6932defa48855254c758cdd0e2f2d48e62a34118a268d8f345e118"
dependencies = [
"windows-link 0.2.0",
]
[[package]]
name = "windows-version"
version = "0.1.5"
+3 -3
View File
@@ -59,7 +59,7 @@ path-slash = "0.2.1"
pest = "2.8.1"
pest_derive = "2.8.1"
process_control = "5.2.0"
quick-xml = "0.37.5"
quick-xml = "0.38.3"
rand = "0.9.2"
rayon = "1.11.0"
regex = { version = "1.11.2", default-features = false, features = ["perf", "std", "unicode-perl"] }
@@ -90,7 +90,7 @@ home = "0.5.11"
shell-words = "1.1.0"
[dependencies.schemars]
version = "0.9.0"
version = "1.0.4"
optional = true
features = ["preserve_order", "indexmap2"]
@@ -98,7 +98,7 @@ features = ["preserve_order", "indexmap2"]
deelevate = "0.2.0"
[target.'cfg(windows)'.dependencies.windows]
version = "0.61.3"
version = "0.62.0"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
+1
View File
@@ -12,6 +12,7 @@ use serde::{Deserialize, Serialize};
pub struct OSConfig<'a> {
pub format: &'a str,
pub style: &'a str,
#[cfg_attr(feature = "config-schema", schemars(with = "IndexMap<String, String>"))]
pub symbols: IndexMap<Type, &'a str>,
pub disabled: bool,
}
+1 -1
View File
@@ -119,7 +119,7 @@ fn get_tfm_from_project_file(path: &Path) -> Option<String> {
// unescape and decode the text event using the reader encoding
Ok(Event::Text(e)) => {
if in_tfm {
return e.unescape().ok().map(std::borrow::Cow::into_owned);
return e.decode().ok().map(std::borrow::Cow::into_owned);
}
}
Ok(Event::Eof) => break, // exits the loop when reaching end of file
+1 -1
View File
@@ -188,7 +188,7 @@ fn get_maven_version(context: &Context, config: &PackageConfig) -> Option<String
depth -= 1;
}
Ok(QXEvent::Text(t)) if in_ver => {
let ver = t.unescape().ok().map(std::borrow::Cow::into_owned);
let ver = t.decode().ok().map(std::borrow::Cow::into_owned);
return match ver {
// Ignore version which is just a property reference
Some(ref v) if !v.starts_with('$') => format_version(v, config.version_format),