Cargo Features

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

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

Affects year2022::day23_simd

visualization = svgplot

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

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?
svgplot visualization?
wgpu webgpu-compute?