| Crates.io | forte-rayon-compat |
| lib.rs | forte-rayon-compat |
| version | 1.12.0 |
| created_at | 2025-07-09 00:21:10.030168+00 |
| updated_at | 2025-07-09 00:21:10.030168+00 |
| description | A shim that allows replacing rayon-core with forte |
| homepage | |
| repository | https://github.com/NthTensor/Forte |
| max_upload_size | |
| id | 1743732 |
| size | 13,756 |
This is a way to run rayon on top of forte! The rayon-compat crate mocks the important bits of the api of rayon_core in a pretty simple and crude way, which is none-the-less enough to support most of what rayon needs.
To use this crate, apply the following cargo patch like one of these:
// If you want to clone forte and use it locally
[patch.crates-io]
rayon-core = { path = "path to this repo", package = "rayon-compat" }
// If you want to use the latest published version of forte
[patch.crates-io]
rayon-core = { path = "https://github.com/NthTensor/Forte", package = "rayon-compat" }