Updated to latest rust
* Added Cargo.toml and restructured project to match Cargo layout
* Simplified error.rs
* Updated to new ptr syntax (`*const`)