aoc-bud: Module that aims to help during advent of code puzzles.
- v0.0.1: + requests puzzle input, saves as a file, to avoid spamming the server with unnecessary calls, and finally returns it as a string
- v0.0.2: + able to post solution to advent of code and receive server message
- v0.0.3: refactored code to use less dependencies and changed how the library is used
- v0.0.4: removed annoying print (nothing new)
Installation
or add the following line to your Cargo.toml
[]
= "0.0.4"
Usage
You must have a .env file on your project directory with your advent of code session cookie
The library exports Regex aswell.
use Aoc;
// If you want to use Regex you can just import it
use Regex;
Features
By enabling the time feature, instead of setting the date yourself the program will get the current date. NOTE This only works when advent of code is ongoing, otherwise you will only get errors.
use Aoc;