Cargo Features

[dependencies]
ucsi = { version = "0.1.0", default-features = false, features = ["full", "no_std", "no_alloc", "all_types", "associated_types", "exported_types", "alias_export", "alias_hidden", "alias_bypass", "internal_utils", "fraction", "internal_macros", "util_macros", "nightly_full", "infer_cast"] }
default = alias_export, exported_types, no_std

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

full = all_types, const_soft_float, internal_macros, internal_utils, no_std
no_std default full?

no alloc / no std

no_alloc
all_types full? = associated_types, exported_types

types

associated_types all_types?

Affects units::associated

exported_types default all_types?

Affects units::exported

alias_export default

types-export

alias_mod alias_hidden
alias_bypass

bypass alias restrictions

internal_utils full? = fraction

utils

fraction internal_utils?

Affects ucsi::fraction

internal_macros full? = typedef_macros, util_macros

macros

Affects ucsi::macros

typedef_macros util_macros internal_macros?
nightly_full = infer_cast, nightly

nightly-only

nightly infer_cast nightly_full?

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.

const_soft_float full?