aoc2021

Crates.ioaoc2021
lib.rsaoc2021
version0.3.0
sourcesrc
created_at2021-12-02 01:34:45.499009
updated_at2021-12-03 18:55:27.740793
descriptionSolves Advent of Code 2021 puzzles
homepage
repositoryhttps://github.com/internet-diglett/aoc2021
max_upload_size
id490610
size55,488
Levon Tarver (internet-diglett)

documentation

README

aoc2021

Rust Publish in Crate Package Registry

Rust lib and binary for solving Advent of Code 2021 puzzles

Getting Started

These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Requirements for the software and other tools to build, test and push

Bulding

$ cargo build --release

$ ./target/release/aoc2021 --help
aoc2021 0.1.0
Levon Tarver <ask.levon@gmail.com>
Solves Advent of Code 2021 puzzles

USAGE:
    aoc2021 [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -d, --day <day>      Day of puzzle you want to solve
    -f, --file <file>    Plaintext file containing puzzle input. Defaults to day<N>.txt

Usage

$ time ./target/release/aoc2021 -d 1
counting the number of times a depth measurement increases
Part One: 1477
counting the number of times the sum of 3 consecutive measurements increases
Part Two: 1523
./target/release/aoc2021 -d 1  0.00s user 0.00s system 59% cpu 0.002 total

Rust is fun. Rust is fast.

Commit count: 21

cargo fmt