Ported to Rust-0.6
Finally ported to Rust-0.6
Merge pull request #3 from kvark/master

Proper port to Rust-0.6