Cargo Features

advent-of-code has no features set by default.

[dependencies]
advent-of-code = { version = "2022.0.66", features = ["count-allocations", "debug-output", "simd", "visualization", "webgpu-compute"] }
count-allocations = allocation-counter
debug-output
simd

Affects year2022::day23_simd

visualization

Affects input::Input.visualization, advent-of-code::ResultType

webgpu-compute = bytemuck, pollster, wgpu

Affects common::gpu, year2022::day23_webgpu

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

allocation-counter count-allocations?
bytemuck webgpu-compute?
pollster webgpu-compute?
wgpu webgpu-compute?