Cargo Features

[dependencies]
malachite = { version = "0.4.16", default-features = false, features = ["enable_pyo3", "enable_serde", "random", "32_bit_limbs", "naturals_and_integers", "rationals", "floats", "serde", "embed-doc-image"] }
default = naturals_and_integers, rationals

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

enable_pyo3

Enables enable_pyo3 of malachite-nz

enable_serde

Enables enable_serde of malachite-float, malachite-nz, and malachite-q

random

Enables random of malachite-base, malachite-float, malachite-nz, and malachite-q

32_bit_limbs

Enables 32_bit_limbs of malachite-float, malachite-nz, and malachite-q

naturals_and_integers default = malachite-nz
rationals default = malachite-q
floats = malachite-float

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.

malachite-nz 32_bit_limbs? enable_pyo3? enable_serde? naturals_and_integers random?
malachite-q 32_bit_limbs? enable_serde? random? rationals
malachite-float 32_bit_limbs? enable_serde? floats? random?
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

embed-doc-image implicit feature

Enables embed-doc-image

embed-doc-image:

Embed images in Rust documentation