Cargo Features

[dependencies]
value-trait = { version = "0.8.1", default-features = false, features = ["128bit", "custom-types", "c-abi", "runtime-detection", "portable", "halfbrown", "hashbrown"] }
default = custom-types, halfbrown, runtime-detection

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

128bit

Support for 128 bit integers

custom-types default

Support for custom types

Affects base::TypedCustomValue.is_custom

c-abi = abi_stable

Support for abi-stable's StableAbi implementation

runtime-detection default

use runtime detection of the CPU features where possible instead of enforcing an instruction set

portable

portable simd support (as of rust 1.73 nightly only)

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.

halfbrown default
hashbrown implicit feature

Enables hashbrown

hashbrown:

A Rust port of Google's SwissTable hash map

abi_stable c-abi?