WIP add system locale detection

Signed-off-by: Terry Yiu <git@tyiu.xyz>
This commit is contained in:
2025-07-23 09:22:44 -04:00
parent 6a08d4b1b2
commit c1d3be4c07
4 changed files with 244 additions and 19 deletions

10
Cargo.lock generated
View File

@@ -3517,6 +3517,7 @@ dependencies = [
"sha2",
"strum",
"strum_macros",
"sys-locale",
"tempfile",
"thiserror 2.0.12",
"tokenator",
@@ -5721,6 +5722,15 @@ dependencies = [
"syn 2.0.104",
]
[[package]]
name = "sys-locale"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4"
dependencies = [
"libc",
]
[[package]]
name = "sysinfo"
version = "0.30.13"