Cargo Features

malachite-base has no features set by default.

[dependencies]
malachite-base = { version = "0.4.8", features = ["random", "test_build", "bin_build"] }
random test_build? = getrandom, rand, rand_chacha, sha3

Affects bools::random, chars::random, iterators::WithSpecialValue, iterators::with_special_value, iterators::WithSpecialValues, iterators::with_special_values, malachite-base::random, integers::PrimitiveInt, signeds::PrimitiveSigned, options::random, num::random, options::random, slices::RandomValuesFromSlice, slices::random_values_from_slice, slices::RandomSlicePermutations, slices::random_slice_permutations, vecs::RandomValuesFromVec, vecs::random_values_from_vec, vecs::RandomVecPermutations, vecs::random_vec_permutations

test_build bin_build? = clap, gnuplot, random, time

Enables use_std of itertools ^0.11.0

Affects chars::CharType, bit_distributor::BitDistributor.output_types, malachite-base::fail_on_untested_path, malachite-base::test_util, coprime_with::coprime_with_check_2_3, coprime_with::coprime_with_check_2_3_5, gcd::gcd_euclidean, gcd::gcd_binary, gcd::gcd_fast_b, log_base_power_of_2::ceiling_log_base_power_of_2_naive, mod_mul::test_invert_u32_table, mod_mul::test_invert_u64_table, root::fast_floor_cbrt_u32, root::fast_floor_cbrt_u64, root::floor_root_binary, root::ceiling_root_binary, root::checked_root_binary, root::root_rem_binary

bin_build = test_build, walkdir

Affects malachite-base::bin_util

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.

sha3 random?
rand random?
rand_chacha random?
getrandom random?
clap test_build?

Enables clap ^2.33.1

gnuplot test_build?

Enables gnuplot ^0.0.39

time test_build?
walkdir bin_build?