From aeb3cf31e57377c119d5b2c646702e68c2665746 Mon Sep 17 00:00:00 2001 From: "codspeed-advent[bot]" Date: Wed, 11 Dec 2024 17:00:44 +0000 Subject: [PATCH] Run: run/ahans/aoc2024-rs/10 --- rust-runner/Cargo.lock | 69 +++++++++++++++++++++++++++++++++++++++++- rust-runner/Cargo.toml | 1 + rust-toolchain.toml | 2 ++ 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/rust-runner/Cargo.lock b/rust-runner/Cargo.lock index 84c7407..08786b1 100644 --- a/rust-runner/Cargo.lock +++ b/rust-runner/Cargo.lock @@ -23,12 +23,67 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +[[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 = "aoc2024_rs" +version = "0.1.0" +source = "git+https://github.com/ahans/aoc2024-rs#893d0bff6caa4698c326a8ce4892bb6476967c90" +dependencies = [ + "aoc-runner", + "aoc-runner-derive", + "bit-set", + "memchr", +] + [[package]] name = "autocfg" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +[[package]] +name = "bit-set" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" + [[package]] name = "cast" version = "0.3.0" @@ -309,6 +364,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" name = "rust-runner" version = "0.1.0" dependencies = [ + "aoc2024_rs", "codspeed-criterion-compat", "paste", ] @@ -345,7 +401,7 @@ checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.90", ] [[package]] @@ -360,6 +416,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..7e3af72 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/ahans/aoc2024-rs", version = "0.1.0", package = "aoc2024_rs" } # 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"