1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-01 10:41:03 +02:00

build: remove no longer required patch, reduce build times

This commit is contained in:
Jake Stanger 2022-10-19 22:52:27 +01:00
parent 3750124d8c
commit 2a3fe33446
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
3 changed files with 25 additions and 112 deletions

View file

@ -169,7 +169,7 @@ impl Config {
// so serialize the interpreted result then deserialize that
let file =
String::from_utf8(file).wrap_err("Config file contains invalid UTF-8")?;
let config = cornfig::parse(&file).wrap_err("Invalid corn config")?.value;
let config = libcorn::parse(&file).wrap_err("Invalid corn config")?.value;
Ok(serde_json::from_str(&serde_json::to_string(&config)?)?)
}
_ => unreachable!(),