Cargo Features

[dependencies]
value-trait = { version = "0.10.1", default-features = false, features = ["128bit", "custom-types", "c-abi", "runtime-detection", "ordered-float", "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 - INCOMPATIBLE WITH ordered-float

runtime-detection default

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

ordered-float

wrap floats in ordered-float - allowing them to be Eq - INCOMPATIBLE WITH c-abi

Enables ordered-float

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

Enables halfbrown ^0.2

hashbrown implicit feature

Enables hashbrown

hashbrown:

A Rust port of Google's SwissTable hash map

abi_stable c-abi?