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
stdfeature is set by default whenevertrueno-zram-coreis added withoutsomewhere in the dependency tree.default-features = false - 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…