Cargo Features

[dependencies]
trueno-zram-core = { version = "0.3.1", default-features = false, features = ["std", "nightly", "cuda"] }

No required features - uses dev-dependency rayon

default = std

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

std default
nightly

Enable nightly-only SIMD features

cuda

Enable CUDA GPU acceleration

Enables cudarc ^0.18, rayon, and trueno-gpu ^0.4.5

trueno-gpu:

Pure Rust PTX generation for GPU LZ4 compression

Affects trueno-zram-core::gpu