#advent-of-code #puzzle #extract #solve #problem #file-line #parse

enontekio

Utilities to solve problems with data extraction and manipulation, like Advent of Code puzzles

7 releases (4 breaking)

new 0.5.0 Dec 13, 2024
0.4.0 Dec 12, 2024
0.3.0 Dec 4, 2024
0.2.0 Dec 18, 2022
0.1.3 Dec 18, 2022

#426 in Data structures

Download history 22/week @ 2024-09-21 112/week @ 2024-11-30 119/week @ 2024-12-07

231 downloads per month

BSD-2-Clause

28KB
480 lines

Enontekio

Enontekio is a Rust library containing utilities frequently used to solve problems with data extraction and manipulation, like Advent of Code puzzles.

Enontekïo is a city in Lapland, and as Advent of Code uses the elves' myth, that was a suitable name for this library.

Parser

Those functions allow to parse a file line by line, and map lines to specific types.

Ops

Ranges

Describe how two ranges intersect.

Code is based on a fork of the range-ext crate by Anicka Burova. https://github.com/AnickaBurova/range-ext

License

Licensed under BSD-2-Clause.

Dependencies

~205KB