initial commit

This commit is contained in:
YK committed 2024-11-19 18:44:07 +03:00
commit 6368f3a66e
8 files changed
+83

No files matched your search

+1
View File
@@ -0,0 +1 @@
/target
Generated
+32
View File
@@ -0,0 +1,32 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "anyhow"
version = "1.0.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775"
[[package]]
name = "aoc2016"
version = "0.1.0"
dependencies = [
"anyhow",
"itertools",
]
[[package]]
name = "either"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
[[package]]
name = "itertools"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
dependencies = [
"either",
]
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "aoc2016"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.93"
itertools = "0.13.0"
+1
View File
@@ -0,0 +1 @@
pub mod d1;
+35
View File
@@ -0,0 +1,35 @@
use crate::prelude::*;
pub type I = String;
pub type O = i64;
fn solve (data: I) -> O {
0
}
fn silver (data: I) -> O {
0
}
fn gold (data: I) -> O {
0
}
#[cfg(test)]
mod test {
use super::*;
fn read () -> I {
Default::default()
}
#[test]
fn silver () {
}
#[test]
fn gold () {
}
}
+3
View File
@@ -0,0 +1,3 @@
pub mod days;
pub mod utils;
pub mod prelude;
+3
View File
@@ -0,0 +1,3 @@
pub use crate::utils::*;
pub use anyhow::Error;
pub use itertools::Itertools;
View File
Whitespace-only changes.