# rust-mdo-future Rust-mdo-future is a small crate that enables future support in [mdo](https://github.com/TeXitoi/rust-mdo) Just take a look: ```rust #[macro_use] extern crate mdo; extern crate mdo-future; use futures::Future; use futures::future::ok; use futures_cpupool::CpuPool; use mdo-future::future::{bind, ret}; //.... // Somewhere in code let pool = CpuPool::new_num_cpus(); let get_num = ok::(42); let get_factor = ok::(2); let res = mdo! { arg =<< get_num; fact =<< get_factor; ret ret(arg * fact) }; let val = pool.spawn(res); assert_eq!(val.wait().unwrap(), 84); //.... ```