update to rust 1.87

This commit is contained in:
Sebastian Hugentobler 2025-05-30 12:34:52 +02:00
parent c3cf09c517
commit ccff6a3a12
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M
4 changed files with 3 additions and 7 deletions

View file

@ -1,7 +1,7 @@
[package] [package]
name = "rox" name = "rox"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2024"
license = "GPL-3.0" license = "GPL-3.0"
authors = ["Sebastian Hugentobler <shu@vanwa.ch>"] authors = ["Sebastian Hugentobler <shu@vanwa.ch>"]

View file

@ -20,13 +20,12 @@
rust = fx.combine [ rust = fx.combine [
(fx.fromToolchainFile { (fx.fromToolchainFile {
file = ./rust-toolchain.toml; file = ./rust-toolchain.toml;
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU="; sha256 = "sha256-KUm16pHj+cRedf8vxs/Hd2YWxpOrWZ7UOrwhILdSJBU=";
}) })
]; ];
buildInputs = [ buildInputs = [
rust rust
pkgs.cargo-deny pkgs.cargo-deny
pkgs.rust-analyzer
]; ];
in in
{ {

View file

@ -1,4 +1,4 @@
[toolchain] [toolchain]
channel = "1.85.0" channel = "1.87.0"
components = ["rust-src", "rustc", "cargo", "rust-std", "rustfmt", "clippy", "rust-analyzer"] components = ["rust-src", "rustc", "cargo", "rust-std", "rustfmt", "clippy", "rust-analyzer"]
profile = "minimal" profile = "minimal"

View file

@ -6,9 +6,6 @@ use tracing::error;
/// Cli entrypoint. /// Cli entrypoint.
fn main() { fn main() {
if std::env::var_os("RUST_LOG").is_none() {
std::env::set_var("RUST_LOG", "info");
}
tracing_subscriber::fmt::init(); tracing_subscriber::fmt::init();
let cli = Cli::parse(); let cli = Cli::parse();