Cargo Features

lambdaworks-gpu has no features set by default.

[dependencies]
lambdaworks-gpu = { version = "0.7.0", features = ["metal", "cuda"] }
metal

Enables metal ^0.24.0 and objc

Affects lambdaworks-gpu::metal

cuda build

Enables walkdir

Affects lambdaworks-gpu::cuda

default

Some features activate compilation of code which isn't supported in all machines (e.g. metal, cuda), so we won't use --all-features in any case, instead every feature that should compile in all cases will require to be added as default. If you don't want to compile with all of these use --no-default-features.