This commit is contained in:
Mateusz Gruszczyński committed 2026-11-14 21:52:48 +01:00
1 parent f48843e934
commit e2c8099d9c
64 files changed
+5354 -673

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
path.display()
);
let content = fs::read(&path).expect("read language JSON");
assert!(content.len() <= 262_144, "language pack exceeds 256 KiB");
assert!(content.len() <= 524_288, "language pack exceeds 512 KiB");
let pack: Value =
serde_json::from_slice(&content).unwrap_or_else(|e| panic!("{}: {e}", path.display()));
let meta = pack["meta"]