alligator

Crates.ioalligator
lib.rsalligator
version0.1.0
sourcesrc
created_at2018-12-07 17:54:52.790986
updated_at2018-12-07 17:54:52.790986
descriptionAlligator is for getting the output value from a future
homepage
repositoryhttps://github.com/gpace1/alligator/
max_upload_size
id100665
size15,287
(gpace1)

documentation

README

alligator 🐊

Alligator is a small crate for getting the output value from a future

#![feature(async_await)]
#![feature(futures_api)]
#[macro_use] extern crate alligator;

async fn hello_world() -> &'static str {
  "Hello World"
}

fn main() {
  println!("{}", later!{ hello_world() });
}
Commit count: 9

cargo fmt