v0.37.2
This commit is contained in:
1 parent
f48843e934
commit
e2c8099d9c
64 files changed
+5354
-673
No files matched your search
@@ -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"]
|
||||
|
||||
Reference in new issue
Block a user