Cargo Features

num-format = { version = "0.4.4", default-features = false, features = ["std", "with-serde", "with-system-locale", "with-num-bigint"] }
default = std

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

std default with-num-bigint? with-system-locale?

Enables arrayvec


Enables serde of arrayvec and derive of serde


Provide derive(Serialize, Deserialize) macros.

with-system-locale = cfg-if, encoding_rs, lazy_static, libc, num-format-windows, std, widestring

Enables winapi

with-num-bigint = num-bigint, std

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

lazy_static with-system-locale?
num-bigint with-num-bigint?
serde with-serde?
cfg-if unix with-system-locale?
encoding_rs unix with-system-locale?
libc unix with-system-locale?
num-format-windows win with-system-locale?
widestring win with-system-locale?
winapi win with-system-locale?