Cargo Features

[dependencies]
meshless_voronoi = { version = "0.6.0", default-features = false, features = ["rayon", "ibig", "dashu", "malachite", "num_bigint", "rug", "hdf5"] }
default = ibig, rayon

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

rayon default

Enable parallel construction of the Voronoi grid.

Enables rayon

ibig default

Use the ibig crate (MIT/Apache 2.0) as the arbitrary precision integer arithmetic backend. It generally has good performance, but can be up to 50% slower than the rug backend for highly degenerate seed configurations (e.g. a perfect grid).

Enables ibig

dashu

Use the dashu crate (MIT/Apache 2.0) as the arbitrary precision integer arithmetic backend. Similar performance to the ibig backend.

Enables dashu

malachite = malachite-base, malachite-nz

Use the malachite crate as the arbitrary precision integer arithmetic backend. Warning: this changes the license to the more restrictive LGPL-3.0-only license. Slightly faster than the dashu backend (up to 40% slower than rug).

num_bigint

Use the num_bigint crate (MIT/Apache 2.0) as the arbitrary precision integer arithmetic backend. Worst performance for degenerate seed configurations (measured up to 140% slower than rug).

Enables num-bigint

rug

Use the rug crate as arbitrary precision integer arithmetic backend. Warning: this changes the license to the more restrictive LGPL-3.0+ license. The fastest backend, but depends on GNU GMP via the gmp-mpfr-sys crate which requires a C compiler to build and hence has the slowest build time.

Enables rug

hdf5

Allow saving Voronoi grids to HDF5 format.

Enables hdf5

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-base malachite?
malachite-nz malachite?