# rayon-rs/rayon

Rayon: A data parallelism library for Rust

Repository: https://github.com/rayon-rs/rayon
Canonical: https://ross.abutalabs.com/products/rayon
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-07-15T23:33:41+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 35, longevity 100
- inputs: {"age_days": 4353, "days_push": 49, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13269, forks 604 (observed 2026-08-28T04:11:02.948880+00:00)

## What it is
Rayon is a data-parallelism library for Rust that converts sequential computations into parallel ones with minimal code changes, typically by swapping iter() for par_iter(). It uses work-stealing scheduling and guarantees data-race freedom through Rust's type system.

## Use cases
- parallelize iterator pipelines in Rust
- speed up CPU-bound data processing
- run recursive divide-and-conquer tasks in parallel
- create custom thread pools for parallel workloads
- parallelize collection map/reduce operations safely

## When to choose
- you want near-effortless data parallelism in Rust
- you need compile-time data-race guarantees
- you want dynamic work-stealing load balancing
- your workload is CPU-bound and parallelizable

## When to avoid
- your workload is I/O-bound rather than CPU-bound
- you need async task concurrency rather than data parallelism
- you require fine-grained control over thread scheduling
- you target a Rust version older than 1.85

## Facets
- artifact type: library
- maturity: stable
- function: concurrency
- domain: developer-tools, performance
- platform: rust, cross-platform
- tags: data-parallelism, parallel-iterators, work-stealing, thread-pool, data-race-freedom, algorithms

## Member repositories
- rayon-rs/rayon (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:02.948880+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:23.700820+00:00, confidence not recorded.
  - readme: https://github.com/rayon-rs/rayon (fetched 2026-08-28T04:11:02.948880+00:00, sha 37e6eaed0cc9)
  - registry_crates: https://crates.io/api/v1/crates/rayon (fetched 2026-08-29T08:08:28.671037+00:00, sha 9323bd9628d6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
