mcw 1.3.1

mcw - most common word
Documentation

If your project ships with tokio in dependencies, then you can use async version of mcw, using async feature in specifications. Only change is that program uses tokio::fs instead of std::fs

/Cargo.toml

[package]
name = "your_package"
version = "0.1.0"
edition = "2021"
[dependencies]
mcw = {version = "1.3.0", features = ["async"]}

/src/main.rs

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>>{
     let words : Vec<Word> = get_words("These are words. Lorem Ipsum. Async Version of
     function", false).await?;

     for word in words{
        println!("{}", word);
     }

     Ok(())
}