Cargo Features

[dependencies]
tsetlin-rs = { version = "0.3.4", default-features = false, features = ["std", "full", "simd", "parallel", "gpu", "serde"] }
default = std

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

std default gpu? parallel? simd?

Affects utils::rng_from_entropy

full = parallel, serde, simd
simd full? = std

Affects tsetlin-rs::simd

parallel full? = crossbeam-utils, rayon, std

Affects tsetlin-rs::parallel, tsetlin-rs::parallel_training

gpu = std

Affects tsetlin-rs::gpu

serde full?

Enables serde, serde of smallvec

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.

crossbeam-utils parallel?
rayon parallel?