Cargo Features

[dependencies]
hpt = { version = "0.0.15", default-features = false, features = ["track_caller", "bound_check", "cuda", "normal_promote"] }
default = normal_promote, track_caller

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

track_caller default

Enables track_caller of hpt-common, hpt-iterator, and hpt-traits

bound_check

Enables bound_check of hpt-common and hpt-iterator

cuda = cudarc, phf, regex

Enables cuda of hpt-allocator, hpt-common, hpt-cudakernels, hpt-macros, and hpt-types

Affects backend::Cuda, hpt::set_cuda_seed

normal_promote default

Enables normal_promote of hpt-types

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.

hpt-cudakernels cuda?
cudarc cuda?
regex cuda?
phf cuda?