Cargo Features

mesh-sieve has no features set by default.

[dependencies]
mesh-sieve = { version = "3.2.0", features = ["map-adapter", "mpi-support", "mpi-derive", "metis-support", "strict-invariants", "check-invariants", "check-empty-part", "fast-hash", "deterministic-order", "deterministic-owners", "check-graph-edges", "expensive-checks", "binpack-retry", "log", "exact-metrics", "mem-snapshot", "rayon", "sparse-bitset", "wgpu"] }
map-adapter

Legacy, infallible adapter. Off by default.

Affects helpers::restrict_closure, helpers::restrict_star, helpers::restrict_closure_vec, helpers::restrict_star_vec, section::Map

mpi-support = rayon

Enables ahash, mpi, and rand ^0.8

mpi:

MPI optional: enabled only when the mpi-support feature is requested

Affects partition::native_partition, partition::partition_edge_cut, partition::partition_replication_factor, partition::partition_metrics, mesh-sieve::partitioning, graph_traits::PartitionableGraph, partitioning::binpack, partitioning::error, partitioning::graph_traits, partitioning::parallel, partitioning::seed_select, partitioning::vertex_cut, partitioning::PartitionId, partitioning::PartitionerConfig, partitioning::PartitionMap, partitioning::PartitionerError, partitioning::ClusterSummary, partitioning::partition, parallel::onizuka_partitioning, state::ClusterIds

mpi-derive

Enables derive of mpi

metis-support = bindgen, libffi-sys, metis, metis-sys, pkg-config

Affects distribute::MetisPartitioner, metis_partition::MetisError

strict-invariants check-invariants?

compile-time switch for invariant checking in release

Affects validation::debug_validate_overlap_ownership_topology

check-invariants = strict-invariants

Affects validation::debug_validate_overlap_ownership_topology

check-empty-part
fast-hash

Enables ahash

Affects perf::FastSet, perf::FastMap

deterministic-order

Affects perf::FastSet, perf::FastMap

deterministic-owners
check-graph-edges

Affects graph_traits::assert_edges_well_formed, partition::debug_check_edges_contract

expensive-checks
binpack-retry

Affects binpack::partition_clusters_with_retry

log
exact-metrics

Affects louvain::delta_q_pair

mem-snapshot

Affects metrics::memory_snapshot_bytes

rayon mpi-support?

Enables rayon

Affects helpers::try_restrict_closure_vec_parallel, helpers::try_restrict_star_vec_parallel

sparse-bitset
wgpu

Enables futures-intrusive, pollster ^0.3, and wgpu ^0.19

Affects data::wgpu

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.

libffi-sys metis-support?

Enables libffi-sys ^2.3

libffi/metis optional to avoid requiring system libs in CI unless explicitly enabled

metis metis-support?
metis-sys metis-support?
pkg-config build metis-support?
bindgen build metis-support?

Enables bindgen ^0.65