Adapted to the latest Rust and ported to Cargo
Merge pull request #1 from netvl/master

Adapted to the latest Rust and ported to Cargo