fix(rust): upgrade to Rust 1.88.0

This commit is contained in:
Harsh Shandilya 2025-06-27 12:20:00 +05:30
parent 8c368cc52e
commit 573b6a70d9
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@
rustStable = (import fenix { inherit pkgs; }).fromToolchainFile {
file = ./rust-toolchain.toml;
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU=";
sha256 = "sha256-Qxt8XAuaUR2OMdKbN4u8dBJOhSHxS+uS06Wl9+flVEk=";
};
craneLib = (crane.mkLib pkgs).overrideToolchain rustStable;

View file

@ -1,5 +1,5 @@
[toolchain]
channel = "1.85.0"
channel = "1.88.0"
components = ["clippy", "rustfmt", "rust-src"]
targets = ["x86_64-unknown-linux-gnu"]
profile = "minimal"

View file

@ -19,7 +19,7 @@ fn main() -> Result<()> {
}
if let Err(e) = logging::init() {
bail!(e)
};
}
let config_path = get_config_path()?;
let config_str = std::fs::read_to_string(config_path.as_path()).unwrap_or_default();
let config: Replacements = toml::from_str(&config_str)?;