advent-of-code/2021/day8/day8_rs/Cargo.toml
Xiretza 92aba2db95 2021 day8/rust: use ArrayVec
This avoids an allocation and, more importantly, turns `digits` into a
fixed size array, allowing the final calculations to be unrolled
completely.
2021-12-09 21:28:01 +01:00

16 lines
282 B
TOML

[package]
name = "day8_rs"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
arrayvec = "0.7.2"
[dev-dependencies]
criterion = "0.3.5"
[[bench]]
name = "unscramble"
harness = false