summaryrefslogtreecommitdiff
path: root/2022
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2022-11-21 18:46:44 +0200
committerJustin Wernick <justin@worthe-it.co.za>2022-11-21 18:46:44 +0200
commit0ac5b6a0932ef22fe18c8bf69fda0f30d3688c14 (patch)
tree3d5243fe5b65e13a9b5cb56c6ada07a6bc57eb18 /2022
parent5650c324e6ce19067b14d885a91ea42bd12fd2e3 (diff)
Ready for 2022
Diffstat (limited to '2022')
-rw-r--r--2022/Cargo.lock123
-rw-r--r--2022/Cargo.toml13
-rw-r--r--2022/readme.org2
-rw-r--r--2022/src/bin/day_1.rs3
-rw-r--r--2022/src/lib.rs1
5 files changed, 142 insertions, 0 deletions
diff --git a/2022/Cargo.lock b/2022/Cargo.lock
new file mode 100644
index 0000000..b3377f8
--- /dev/null
+++ b/2022/Cargo.lock
@@ -0,0 +1,123 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "aoc2022"
+version = "0.1.0"
+dependencies = [
+ "derive_more",
+ "nom",
+ "thiserror",
+]
+
+[[package]]
+name = "convert_case"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
+
+[[package]]
+name = "derive_more"
+version = "0.99.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
+dependencies = [
+ "convert_case",
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "syn",
+]
+
+[[package]]
+name = "memchr"
+version = "2.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
+
+[[package]]
+name = "minimal-lexical"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
+
+[[package]]
+name = "nom"
+version = "7.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
+dependencies = [
+ "memchr",
+ "minimal-lexical",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43"
+dependencies = [
+ "unicode-xid",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rustc_version"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
+dependencies = [
+ "semver",
+]
+
+[[package]]
+name = "semver"
+version = "1.0.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e25dfac463d778e353db5be2449d1cce89bd6fd23c9f1ea21310ce6e5a1b29c4"
+
+[[package]]
+name = "syn"
+version = "1.0.82"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8daf5dd0bb60cbd4137b1b587d2fc0ae729bc07cf01cd70b36a1ed5ade3b9d59"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
+]
+
+[[package]]
+name = "thiserror"
+version = "1.0.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e"
+dependencies = [
+ "thiserror-impl",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "1.0.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "unicode-xid"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
diff --git a/2022/Cargo.toml b/2022/Cargo.toml
new file mode 100644
index 0000000..af8eee9
--- /dev/null
+++ b/2022/Cargo.toml
@@ -0,0 +1,13 @@
+[package]
+name = "aoc2022"
+version = "0.1.0"
+authors = ["Justin Wernick <justin@worthe-it.co.za>"]
+edition = "2021"
+
+[dependencies]
+derive_more = "0.99.17"
+nom = "7.1.1"
+thiserror = "1.0.37"
+
+[profile.release]
+# debug = true
diff --git a/2022/readme.org b/2022/readme.org
new file mode 100644
index 0000000..c073fed
--- /dev/null
+++ b/2022/readme.org
@@ -0,0 +1,2 @@
+* Advent of Code 2022
+
diff --git a/2022/src/bin/day_1.rs b/2022/src/bin/day_1.rs
new file mode 100644
index 0000000..078760e
--- /dev/null
+++ b/2022/src/bin/day_1.rs
@@ -0,0 +1,3 @@
+fn main() -> Result<(), Box<dyn std::error::Error>> {
+ Ok(())
+}
diff --git a/2022/src/lib.rs b/2022/src/lib.rs
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/2022/src/lib.rs
@@ -0,0 +1 @@
+