From 238e26dccfc533eb6abaabcc87383ba9d77dac90 Mon Sep 17 00:00:00 2001 From: George Thomas Date: Tue, 2 Dec 2025 18:38:21 +0000 Subject: [PATCH] Move all Rust stuff in to subdirectory --- .gitignore | 2 +- flake.nix | 2 +- Cargo.lock => rust/Cargo.lock | 0 Cargo.toml => rust/Cargo.toml | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename Cargo.lock => rust/Cargo.lock (100%) rename Cargo.toml => rust/Cargo.toml (81%) diff --git a/.gitignore b/.gitignore index ee9ca1c..47cd1b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ dist*/ result -/target +target diff --git a/flake.nix b/flake.nix index 97d325c..24e5c2f 100644 --- a/flake.nix +++ b/flake.nix @@ -29,7 +29,7 @@ }; packages = { haskell = haskell.packages."aoc:exe:aoc"; - rust = rust.buildPackage { src = rust.cleanCargoSource ./.; }; + rust = rust.buildPackage { src = rust.cleanCargoSource ./rust; }; }; } ); diff --git a/Cargo.lock b/rust/Cargo.lock similarity index 100% rename from Cargo.lock rename to rust/Cargo.lock diff --git a/Cargo.toml b/rust/Cargo.toml similarity index 81% rename from Cargo.toml rename to rust/Cargo.toml index 1b630cd..f2cd264 100644 --- a/Cargo.toml +++ b/rust/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2024" [[bin]] -path = "rust/main.rs" +path = "main.rs" name = "aoc" [dependencies]