6 stable releases

2.0.0 Jun 19, 2025
1.0.4 Apr 22, 2025
1.0.3 Mar 27, 2025
1.0.2 Mar 26, 2025
1.0.0 Mar 25, 2025

#135 in Concurrency

Download history 25192/week @ 2025-03-25 21311/week @ 2025-04-01 31923/week @ 2025-04-08 24026/week @ 2025-04-15 28960/week @ 2025-04-22 21920/week @ 2025-04-29 33353/week @ 2025-05-06 28954/week @ 2025-05-13 28872/week @ 2025-05-20 22621/week @ 2025-05-27 35438/week @ 2025-06-03 26830/week @ 2025-06-10 44133/week @ 2025-06-17 31524/week @ 2025-06-24 34397/week @ 2025-07-01 26203/week @ 2025-07-08

138,878 downloads per month
Used in 102 crates (15 directly)

Apache-2.0

8KB
70 lines

par-core

A wrapper for various parallelization library for Rust. This crate currently supports

Usage

If you are developing a library, you should not force the parallelization library, and let the users choose the parallelization library.

Final application

If you are developing a final application, you can use cargo feature to select the parallelization library.

chili

[dependencies]
par-core = { version = "1.0.3", features = ["chili"] }

rayon

[dependencies]
par-core = { version = "1.0.3", features = ["rayon"] }

Disable parallelization

[dependencies]
par-core = { version = "1.0.3", default-features = false }

Library developers

If you are developing a library, you can simply depend on par-core without any features. Note: To prevent a small mistake of end-user making the appplication slower, par-core emits a error message using a default feature. So if you are a library developer, you should specify default-features = false.

[dependencies]
par-core = { version = "1.0.3", default-features = false }

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Dependencies

~25–320KB