toml
[dependencies]
yeast-rs = "0.1.0"
This crate has one function yeast
which return Yeast
a URL-safe unique id.
```rust use yeast_rs::yeast;
fn main() { let id = yeast().to_string(); //=> "NgqS4Rd" } ```
Currently, we support tokio
and async-std
toml
[dependencies]
yeast-rs = {version ="0.1.0",features=["async-std-runtime"]}
rust
use yeast_rs::async_std::yeast;
async fn func(){
let id = yeast().await.to_string(); //=> "NgqS4Rd"
}