Cargo Features
[dependencies]
meshless_voronoi = { version = "0.7.1", 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
somewhere in the dependency tree.default-features = false - 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 therug
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 theibig
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 thedashu
backend (up to 40% slower thanrug
). - 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 thanrug
).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 thegmp-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.