This Rust library allows partitioning a list of tasks to multiple workers, by count or by hash. It was cut out from the awesome nextest.
task_partitioner is licensed under the terms of the Apache License (Version 2.0), or MIT.