Cargo Features
[dependencies]
malachite-nz = { version = "0.9.1", default-features = false, features = ["std", "32_bit_limbs", "random", "enable_pyo3", "enable_serde", "test_build", "bin_build", "float_helpers", "doc-images"] }
- default = std
-
The
stdfeature is set by default whenevermalachite-nzis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Enables std of malachite-base
- 32_bit_limbs
-
Affects
malachite-nz::platform_32,float_sqrt::sqrt_float_significand_in_place,mod_op::limbs_mod_limb… - random test_build?
-
Enables random of malachite-base
Affects
integer::random,natural::random… - enable_pyo3 = pyo3, pyo3-build-config
- enable_serde = serde
- test_build bin_build? = indoc, num, pyo3, pyo3-build-config, random, rug, serde, serde_json
-
Enables test_build of malachite-base
Affects
malachite-nz::test_util,coprime_with::coprime_with_check_2_3,coprime_with::coprime_with_check_2_3_5,div_exact::test_invert_limb_table,half_gcd::HalfGcdMatrix,half_gcd::HalfGcdMatrix1,mod_op::limbs_mod_limb,mod_power_of_2_square::SQRLO_DC_THRESHOLD_LIMIT,mul::product_of_limbs,toom::TUNE_PROGRAM_BUILD,toom::WANT_FAT_BINARY,toom::TOOM22_MAYBE_MUL_TOOM22,toom::TOOM33_MAYBE_MUL_BASECASE,toom::TOOM33_MAYBE_MUL_TOOM33,toom::limbs_mul_greater_to_out_toom_54,square::TOOM3_MAYBE_SQR_TOOM3,square::TOOM3_MAYBE_SQR_BASECASE,general_digits::GET_STR_PRECOMPUTE_THRESHOLD,general_digits::PowerTableRow,general_digits::PowerTableAlgorithm… - bin_build = test_build
-
Affects
malachite-nz::bin_util… - float_helpers
-
Affects
arithmetic::float_add,arithmetic::float_div,arithmetic::float_extras,arithmetic::float_mul,arithmetic::float_reciprocal,arithmetic::float_reciprocal_sqrt,arithmetic::float_sqrt,arithmetic::float_square,arithmetic::float_sub… - doc-images = embed-doc-image
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.