Cargo Features

[dependencies]
hex-conservative = { version = "0.2.0", default-features = false, features = ["std", "alloc", "core2", "serde"] }
default = std

The std feature is set by default whenever hex-conservative is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std

Affects display::DisplayHex.to_lower_hex_string, display::DisplayHex.to_upper_hex_string, display::DisplayHex.to_hex_string, display::DisplayHex.append_hex_to_string

Features from optional dependencies

core2 implicit feature

Enables core2 ^0.3.2

core2:

The bare essentials of std::io for use in no_std. Alloc support is optional.

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects hex-conservative::serde