# fereidani/kanal

The fast sync and async channel that Rust deserves

Repository: https://github.com/fereidani/kanal
Canonical: https://ross.abutalabs.com/products/kanal
Language: Rust
License: MIT
License Family: permissive
Topics: channel, concurrency, mpmc, oneshot, rust, synchronization, async, mpsc
Last push: 2026-07-19T17:46:05+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 1512, "days_push": 45, "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 1759, forks 53 (observed 2026-08-28T04:05:32.511979+00:00)

## What it is
Kanal is a high-performance Rust channel library implementing CSP-style message passing with both synchronous and asynchronous APIs. It supports mpmc, mpsc, and oneshot channels and unifies communication between sync and async code.

## Use cases
- pass messages between threads in Rust
- communicate between sync and async Rust code
- fast mpmc channel for concurrent workers
- replace std::sync::mpsc for better performance
- oneshot channel for single-value handoff
- tokio-compatible channel with sync API

## When to choose
- you need top channel throughput in Rust
- your code mixes sync threads and async runtimes
- you need mpmc semantics beyond std mpsc

## When to avoid
- you only need a simple channel and std::sync::mpsc suffices
- you need broadcast channels or complex stream combinators

## Facets
- artifact type: library
- maturity: active
- function: concurrency, message-queue
- domain: developer-tools, performance
- platform: rust, cross-platform
- tags: mpmc, mpsc, oneshot, csp, sync-async, message-passing, algorithms

## Member repositories
- fereidani/kanal (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.511979+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-30T03:27:16.508377+00:00, confidence not recorded.
  - readme: https://github.com/fereidani/kanal (fetched 2026-08-28T04:05:32.511979+00:00, sha 735cb38186ab)
  - registry_crates: https://crates.io/api/v1/crates/kanal (fetched 2026-08-29T11:05:33.558606+00:00, sha 0f3147daecca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
