I want to use the benchmarks, but I don't understand how the criterion toggle is supposed to work.
After moving example.rs to a main.rs "cargo run" works just fine.
However, if I add
[dependencies]
aoc-main = { version = "*", features = ["bench"] }
to Cargo.toml I get the above error.
I want to use the benchmarks, but I don't understand how the criterion toggle is supposed to work.
After moving
example.rsto amain.rs"cargo run" works just fine.However, if I add
to
Cargo.tomlI get the above error.