Registry / utility / solana-rayon-threadlimit

solana-rayon-threadlimit

JSON →
library4.0.0rscratesunverified

Limits the number of threads used by Rayon in Solana-related applications.

# Cargo.toml [dependencies] solana-rayon-threadlimit = "4.0.0"
INSTALL
IMPORT
SIG · SOLANA-RAYON-THREA
S
solana-rayon-threadlimit
utilityrustv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

set_thread_limit
use solana_rayon_threadlimit::set_thread_limit;

Sets the maximum number of threads for Rayon to use.

use solana_rayon_threadlimit::set_thread_limit; fn main() { set_thread_limit(4); // Now Rayon will use at most 4 threads }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
solana-rayon-threadlimit — cargo add solana-rayon-threadlimit · libregistry