Skip to content

Commit

Permalink
update: Rust 2024 Edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitt3120 committed Feb 20, 2025
1 parent ebc5e5c commit 0fa9b14
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: main
schedule:
interval: "daily"
- package-ecosystem: "cargo"
directory: "/"
target-branch: main
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "template"
version = "0.1.0"
authors = ["<name>"]
edition = "2021"
rust-version = "1.82.0"
edition = "2024"
rust-version = "1.85.0"
description = "<description>"
readme = "README.md"
repository = "<repository>"
Expand Down
4 changes: 1 addition & 3 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
}:

pkgs.mkShell {

buildInputs = [
pkgs.rustup
];
Expand All @@ -17,7 +16,7 @@ pkgs.mkShell {
DATA_DIR="/tmp/rust"
export RUSTUP_HOME="$DATA_DIR/rustup"
export CARGO_HOME="$DATA_DIR/cargo"
export PATH=$CARGO_niHOME/bin:$PATH
export PATH=$CARGO_HOME/bin:$PATH
mkdir -p "$CARGO_HOME"
mkdir -p "$RUSTUP_HOME"
mkdir -p "$DATA_DIR/shell"
Expand All @@ -35,5 +34,4 @@ pkgs.mkShell {
echo "$(rustup --version)"
echo "$(cargo --version)"
'';

}

0 comments on commit 0fa9b14

Please sign in to comment.