docs.rs failed to build par-core-1.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
par-core-2.0.0
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
[]
= { = "1.0.1", = ["chili"] }
rayon
[]
= { = "1.0.1", = ["rayon"] }
Disable parallelization
[]
= { = "1.0.1", = 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
.
[]
= { = "1.0.1", = false }
License
This project is licensed under the Apache License 2.0. See the LICENSE file for details.