Updated to build with 1.0.0-beta …
The tests don't work, but that seems unavoidable since the `test` feature is unstable (so `extern crate test` simply won't compile).