Skip to content

Alligator is a small crate for getting values from futures when the value is needed

License

Notifications You must be signed in to change notification settings

gpace1/alligator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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() });
}

About

Alligator is a small crate for getting values from futures when the value is needed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages