Cargo Features
[dependencies]
numext-fixed-uint-core = { version = "0.1.6", default-features = false, features = ["bits_all", "support_all", "bits_256", "bits_1024", "bits_4096", "support_rand", "support_heapsize", "support_serde"] }
- default = bits_all
-
The
bits_all
feature is set by default whenevernumext-fixed-uint-core
is added without
somewhere in the dependency tree.default-features = false - bits_all default = bits_1024, bits_128, bits_160, bits_2048, bits_224, bits_256, bits_384, bits_4096, bits_512, bits_520
- support_all = support_heapsize, support_rand, support_serde
- bits_128 bits_160 bits_224 bits_256 bits_all
- bits_384 bits_512 bits_520 bits_1024 bits_all
- bits_2048 bits_4096 bits_all
- support_rand support_all? = rand
- support_heapsize support_all? = heapsize
- support_serde support_all? = serde
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.
- rand support_rand?
-
Enables rand ~0.7
- heapsize support_heapsize?
- serde support_serde?