tokio-thread-pool 1.0.0

A small wrapper around the tokio runtime supporting max concurrency
Documentation
# Tokio Thread Pool

A small wrapper around the tokio runtime supporting multithreading with max concurrency limits

## Installation
```bash
cargo add tokio-thread-pool
```

## API

```rust
use tokio_thread_pool::ThreadPool;

let my_pool = ThreadPool::new(
  None, // optional max task concurrency (Option<usize>),
  None, // optional max number of threads defaulting to the number of CPU cores on the system (Option<usize>),
  None, // an optional tokio runtime that you provide with your own custom settings (Option<tokio::Runtime>)
);

// Spawn async tasks
let handle = my_pool.spawn(async move || {}); // return any value
// Spawn sync tasks
let handle = my_pool.spawn_blocking(move || {}); // return any value

// Get result
let result = handle.await;
```