diff --git a/rust-runner/Cargo.lock b/rust-runner/Cargo.lock index 84c7407..fe417f5 100644 --- a/rust-runner/Cargo.lock +++ b/rust-runner/Cargo.lock @@ -23,6 +23,45 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +[[package]] +name = "aoc-2024" +version = "0.1.0" +source = "git+https://github.com/FelixHartramf/aoc-2024#0c710542ada89e7c34432cee324cb07333cb81e4" +dependencies = [ + "aoc-runner", + "aoc-runner-derive", + "regex", +] + +[[package]] +name = "aoc-runner" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d21ef9204ad206a5a3e918e9920da04e1118ad91ce4f23570be964b9d6b9dfcb" + +[[package]] +name = "aoc-runner-derive" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba8b944269d3fee645d281b1335e1797044db497bb02d0098cc3fdb8900069cc" +dependencies = [ + "aoc-runner-internal", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "aoc-runner-internal" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "274b0ba7f3669a45ec0aaacf94eb032a749de880ab776091576cca94037c9982" +dependencies = [ + "serde", + "serde_derive", + "serde_json", +] + [[package]] name = "autocfg" version = "1.4.0" @@ -309,6 +348,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" name = "rust-runner" version = "0.1.0" dependencies = [ + "aoc-2024", "codspeed-criterion-compat", "paste", ] @@ -345,7 +385,7 @@ checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.90", ] [[package]] @@ -360,6 +400,17 @@ dependencies = [ "serde", ] +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "syn" version = "2.0.90" diff --git a/rust-runner/Cargo.toml b/rust-runner/Cargo.toml index 696d2eb..3f0ae28 100644 --- a/rust-runner/Cargo.toml +++ b/rust-runner/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [dependencies] paste = "1.0.0" codspeed-criterion-compat = { version = "2.7.2", default-features = false } +solution = { git = "https://github.com/FelixHartramf/aoc-2024", version = "0.1.0", package = "aoc-2024" } # solution = { git = "YOUR_SOLUTION_REPO_GOES_HERE" } [[bench]] diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..292fe49 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "stable"