forte-rayon-compat

Crates.ioforte-rayon-compat
lib.rsforte-rayon-compat
version1.12.0
created_at2025-07-09 00:21:10.030168+00
updated_at2025-07-09 00:21:10.030168+00
descriptionA shim that allows replacing rayon-core with forte
homepage
repositoryhttps://github.com/NthTensor/Forte
max_upload_size
id1743732
size13,756
Miles Silberling-Cook (NthTensor)

documentation

README

Rayon Compat

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" }
Commit count: 56

cargo fmt