diff --git a/rust-runner/Cargo.lock b/rust-runner/Cargo.lock index 84c7407..15f63ce 100644 --- a/rust-runner/Cargo.lock +++ b/rust-runner/Cargo.lock @@ -23,6 +23,26 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +[[package]] +name = "aoc" +version = "0.0.0" +source = "git+https://github.com/ictrobot/aoc-rs.git#5c054d9790dabea4c1b3541745aee0a05a6f40fa" +dependencies = [ + "utils", + "year2015", + "year2016", + "year2017", + "year2024", +] + +[[package]] +name = "aoc-rs-codspeed" +version = "0.0.0" +source = "git+https://github.com/ictrobot/aoc-rs-codspeed#0a4022475576a4f7afe58e0217f615b03cac6f82" +dependencies = [ + "aoc", +] + [[package]] name = "autocfg" version = "1.4.0" @@ -309,6 +329,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" name = "rust-runner" version = "0.1.0" dependencies = [ + "aoc-rs-codspeed", "codspeed-criterion-compat", "paste", ] @@ -387,6 +408,11 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +[[package]] +name = "utils" +version = "0.0.0" +source = "git+https://github.com/ictrobot/aoc-rs.git#5c054d9790dabea4c1b3541745aee0a05a6f40fa" + [[package]] name = "walkdir" version = "2.5.0" @@ -553,3 +579,35 @@ name = "windows_x86_64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "year2015" +version = "0.0.0" +source = "git+https://github.com/ictrobot/aoc-rs.git#5c054d9790dabea4c1b3541745aee0a05a6f40fa" +dependencies = [ + "utils", +] + +[[package]] +name = "year2016" +version = "0.0.0" +source = "git+https://github.com/ictrobot/aoc-rs.git#5c054d9790dabea4c1b3541745aee0a05a6f40fa" +dependencies = [ + "utils", +] + +[[package]] +name = "year2017" +version = "0.0.0" +source = "git+https://github.com/ictrobot/aoc-rs.git#5c054d9790dabea4c1b3541745aee0a05a6f40fa" +dependencies = [ + "utils", +] + +[[package]] +name = "year2024" +version = "0.0.0" +source = "git+https://github.com/ictrobot/aoc-rs.git#5c054d9790dabea4c1b3541745aee0a05a6f40fa" +dependencies = [ + "utils", +] diff --git a/rust-runner/Cargo.toml b/rust-runner/Cargo.toml index 696d2eb..034c1eb 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/ictrobot/aoc-rs-codspeed", version = "0.0.0", package = "aoc-rs-codspeed" } # 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"