MCPcopy Index your code
hub / github.com/andybarron/tokio-rayon

github.com/andybarron/tokio-rayon @v2.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.0 ↗ · + Follow
20 symbols 58 edges 4 files 3 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

tokio-rayon

Mix async code with CPU-heavy thread pools using Tokio + Rayon

Documentation Build status Test coverage

crates.io Downloads Rust version

MIT license

Resources

TL;DR

Sometimes, you're doing async stuff, and you also need to do CPU-heavy stuff. This library will help!

let nft = tokio_rayon::spawn_async(|| {
  do_some_crypto_stuff()
}).await?;

assert_eq!(nft, ExpensiveNft);

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 14
Method 3
Interface 2
Class 1

Languages

Rust100%

Modules by API surface

src/async_thread_pool.rs9 symbols
src/global.rs6 symbols
src/async_handle.rs4 symbols
src/lib.rs1 symbols

For agents

$ claude mcp add tokio-rayon \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page