Upgraded to latest Rust

* Fixed enum namespace change
* Fixed warning on global snake case name
Merge pull request #26 from bvssvni/master

Upgraded to latest Rust