• Adam Jacob's avatar
    feature: Convert to async/await (#48) · 6949692e
    Adam Jacob authored
    * feature: Convert to async/await
    
    This commit switches from futures 0.1 to the new async/await syntax. It
    requires Rust 1.39+, currently in beta. Additionally, it switches from
    `std::sync::Mutex` to the futures-safe Mutex from `futures-preview`.
    This should solve deadlock problems when running on multi-threaded
    futures executors, such as tokio.
    6949692e