Updated Rust
Added .rlib to .gitignore
Merge pull request #23 from Ogeon/master

Updated error handling, crate-type and .gitignore