Cargo Features

[dependencies]
tension = { version = "0.0.2", default-features = false, features = ["device"] }
default = device

The device feature is set by default whenever tension is added without default-features = false somewhere in the dependency tree.

device default = num-complex-v01, ocl

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.

ocl device
num-complex-v01 device

Enables num-complex ^0.1