Cargo Features

[dependencies]
cubecl-common = { version = "0.3.0", default-features = false, features = ["std"] }
default = std

The std feature is set by default whenever cubecl-common is added without default-features = false somewhere in the dependency tree.

std default = futures-lite

Enables std of rand

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

Affects benchmark::Benchmark.run_one_full, benchmark::Benchmark.run_one_device_only, benchmark::run_benchmark, rand::get_seeded_rng, rand::gen_random

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.

futures-lite std

Enables futures-lite

Only activate futures for std env