Cargo Features

[dependencies]
tensor-rs = { version = "0.5.9", default-features = false, features = ["use-f32", "use-f64", "use-u8", "use-serde", "use-blas-lapack", "use-cuda"] }
default = use-blas-lapack, use-f64, use-serde

These default features are set whenever tensor-rs is added without default-features = false somewhere in the dependency tree.

use-f32
use-f64 default
use-usize use-u8
use-serde default = serde

Affects tensor-rs::serde

use-blas-lapack default = blas, blas-src, lapack, lapack-src

Affects tensor_impl::lapack_tensor

use-cuda = cuda11-cudart-sys, cuda11-cutensor-sys

Affects tensor_impl::cuda_tensor, tensor_impl::cuda_helper

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.

blas use-blas-lapack
blas-src use-blas-lapack

Enables blas-src ^0.8

lapack use-blas-lapack
lapack-src use-blas-lapack

Enables lapack-src ^0.8

cuda11-cudart-sys use-cuda?
cuda11-cutensor-sys use-cuda?
serde use-serde