Cargo Features

UFix has no features set by default.

[dependencies]
ufix = { version = "0.1.5", features = ["std", "all", "i128", "word16", "bitcode"] }
std all?

Enables std of optional bitcode, optional serde, and thiserror

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

all = bytemuck, i128, serde, std, word16, word8
i128 all?

Enables i128 of typenum

Affects aliases::bin.UFix128, aliases::bin.Fix128

word8 word16 all?

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.

bitcode implicit feature

Enables bitcode

bitcode:

bitcode is a bitwise binary serializer

bytemuck all?
serde all?