update to rust 1.87
This commit is contained in:
parent
c3cf09c517
commit
ccff6a3a12
4 changed files with 3 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "rox"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
license = "GPL-3.0"
|
||||
authors = ["Sebastian Hugentobler <shu@vanwa.ch>"]
|
||||
|
||||
|
|
|
@ -20,13 +20,12 @@
|
|||
rust = fx.combine [
|
||||
(fx.fromToolchainFile {
|
||||
file = ./rust-toolchain.toml;
|
||||
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU=";
|
||||
sha256 = "sha256-KUm16pHj+cRedf8vxs/Hd2YWxpOrWZ7UOrwhILdSJBU=";
|
||||
})
|
||||
];
|
||||
buildInputs = [
|
||||
rust
|
||||
pkgs.cargo-deny
|
||||
pkgs.rust-analyzer
|
||||
];
|
||||
in
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[toolchain]
|
||||
channel = "1.85.0"
|
||||
channel = "1.87.0"
|
||||
components = ["rust-src", "rustc", "cargo", "rust-std", "rustfmt", "clippy", "rust-analyzer"]
|
||||
profile = "minimal"
|
||||
|
|
|
@ -6,9 +6,6 @@ use tracing::error;
|
|||
|
||||
/// Cli entrypoint.
|
||||
fn main() {
|
||||
if std::env::var_os("RUST_LOG").is_none() {
|
||||
std::env::set_var("RUST_LOG", "info");
|
||||
}
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
let cli = Cli::parse();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue