diff --git a/Cargo.lock b/Cargo.lock index a568125..fdf73ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,15 +3,15 @@ version = 4 [[package]] -name = "adventofcode" +name = "advent-of-code" version = "0.1.0" dependencies = [ - "adventofcode-macros", + "advent-of-code-macros", "regex", ] [[package]] -name = "adventofcode-macros" +name = "advent-of-code-macros" version = "0.1.0" dependencies = [ "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index ce586d4..24c6161 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "adventofcode" +name = "advent-of-code" version = "0.1.0" edition = "2021" description = "My solutions for Advent of code 2024" @@ -310,7 +310,7 @@ name = "advent_of_code" [dependencies] -[dependencies.adventofcode-macros] +[dependencies.advent-of-code-macros] path = "macros" [dependencies.regex] diff --git a/macros/Cargo.toml b/macros/Cargo.toml index ffc1d31..e7af190 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "adventofcode-macros" +name = "advent-of-code-macros" version = "0.1.0" edition = "2021" diff --git a/src/bin/2023/01.rs b/src/bin/2023/01.rs index 597822d..0b6b46f 100644 --- a/src/bin/2023/01.rs +++ b/src/bin/2023/01.rs @@ -1,6 +1,6 @@ use advent_of_code::strings::{get_numbers, get_string_numbers}; #[allow(unused_imports)] -use adventofcode_macros::{include_data, include_example}; +use advent_of_code_macros::{include_data, include_example}; include_data!(DATAa 2023 01a); include_data!(DATAb 2023 01b); diff --git a/src/bin/2023/02.rs b/src/bin/2023/02.rs index 49c5f9e..0f7d110 100644 --- a/src/bin/2023/02.rs +++ b/src/bin/2023/02.rs @@ -1,6 +1,6 @@ use advent_of_code::strings::parsenumber; #[allow(unused_imports)] -use adventofcode_macros::{include_data, include_example}; +use advent_of_code_macros::{include_data, include_example}; include_example!(DATA 2023 02); diff --git a/src/bin/2024/01.rs b/src/bin/2024/01.rs index 6ceb7cf..2cd5eb9 100644 --- a/src/bin/2024/01.rs +++ b/src/bin/2024/01.rs @@ -1,6 +1,6 @@ use advent_of_code::strings::{parsenumber, splitspace}; #[allow(unused_imports)] -use adventofcode_macros::{include_data, include_example}; +use advent_of_code_macros::{include_data, include_example}; include_data!(DATA 2024 01); diff --git a/src/bin/2024/02.rs b/src/bin/2024/02.rs index 0953474..aa2e7d0 100644 --- a/src/bin/2024/02.rs +++ b/src/bin/2024/02.rs @@ -2,7 +2,7 @@ use std::fmt::Display; use advent_of_code::strings::parsenumber; #[allow(unused_imports)] -use adventofcode_macros::{include_data, include_example}; +use advent_of_code_macros::{include_data, include_example}; include_data!(DATA 2024 02); diff --git a/src/bin/2024/03.rs b/src/bin/2024/03.rs index 04f08f9..bcbcf81 100644 --- a/src/bin/2024/03.rs +++ b/src/bin/2024/03.rs @@ -1,6 +1,6 @@ use advent_of_code::strings::parsenumber; #[allow(unused_imports)] -use adventofcode_macros::{include_data, include_example}; +use advent_of_code_macros::{include_data, include_example}; use regex::{Captures, Regex}; include_data!(DATA 2024 03);