diff --git a/.aoc_tiles/tiles/2026/01.png b/.aoc_tiles/tiles/2026/01.png new file mode 100644 index 0000000..2572c5d Binary files /dev/null and b/.aoc_tiles/tiles/2026/01.png differ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..73ec9a8 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,31 @@ +repos: + - repo: local + hooks: + - id: rust-linting + name: Rust linting + entry: cargo fmt --all -- + pass_filenames: true + types: [file, rust] + language: system + - id: rust-clippy + name: Rust clippy + entry: cargo clippy --lib --all-features --tests -- + pass_filenames: false + types: [file, rust] + language: system + - repo: https://github.com/LiquidFun/aoc_tiles + rev: 0.7.2 + hooks: + - id: aoc-tiles + language: system + # Optionally use these arguments. Auto add tiles to git adds the tiles to git, + # possibly amends your commit by creating the tile images and updating the README. + # Language sorting shows the preference of the order of the languages to use. + # Exclude paterns are globs which can be used to exclude files when creating + # the tiles. See the customization section in the README for more flags. + # Simply remove the comments (#) below for args and the flags you want. + args: + - --auto-add-tiles-to-git=amend + - --overwrite-year=2026 + # - --language-sorting=jl,kt,py,rs + # - --exclude-patterns=2021/*/*.apl,2021/*/*.py,2021/*/*.cpp diff --git a/README.md b/README.md new file mode 100644 index 0000000..f0c32a1 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ + +

+ 2026 - 2 ⭐ - Rust +

+ + + +