tokio-rayon 2.1.0

Mix async code with CPU-heavy thread pools using Tokio + Rayon
Documentation
# tokio-rayon

_Mix async code with CPU-heavy thread pools using [Tokio][tokio-url] + [Rayon][rayon-url]_

[tokio-url]: https://docs.rs/tokio
[rayon-url]: https://docs.rs/rayon

[![Documentation][docs-badge]][docs-url]
[![Build status][build-badge]][build-url]
[![Test coverage][coverage-badge]][coverage-url]
<br />
[![crates.io][crates-badge]][crates-url]
[![Downloads][downloads-badge]][crates-url]
[![Rust version][rust-version-badge]][rust-version-link]
<br />
[![MIT license][license-badge]][license-url]

[build-badge]: https://img.shields.io/github/workflow/status/andybarron/tokio-rayon/CI?labelColor=112&logo=github&logoColor=fff&style=flat-square
[build-url]: https://github.com/andybarron/tokio-rayon/actions
[coverage-badge]: https://img.shields.io/codecov/c/gh/andybarron/tokio-rayon?labelColor=112&logo=codecov&logoColor=fff&style=flat-square
[coverage-url]: https://codecov.io/gh/andybarron/tokio-rayon
[crates-badge]: https://img.shields.io/crates/v/tokio-rayon?labelColor=112&logo=rust&logoColor=fff&style=flat-square
[crates-url]: https://crates.io/crates/tokio-rayon
[docs-badge]: https://img.shields.io/docsrs/tokio-rayon?labelColor=112&logo=read-the-docs&logoColor=fff&style=flat-square
[docs-url]: https://docs.rs/tokio-rayon
[downloads-badge]: https://img.shields.io/crates/d/tokio-rayon?labelColor=112&color=informational&style=flat-square
[license-badge]: https://img.shields.io/crates/l/tokio-rayon?labelColor=112&style=flat-square
[license-url]: https://github.com/andybarron/tokio-rayon/blob/main/LICENSE.txt
[rust-version-badge]: https://img.shields.io/badge/rustc-1.45+-informational?logo=rust&logoColor=fff&labelColor=112&style=flat-square
[rust-version-link]: https://www.rust-lang.org

## Resources

- [**Documentation**][docs-url]
- [crates.io][crates-url]

## TL;DR

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

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

assert_eq!(nft, ExpensiveNft);
```