to_owned() -> to_vec()
Use std::time::Duration
Merge pull request #43 from jedisct1/master

Minor fixes for rust-nightly