Fix for rust nightly
Add Cargo.lock to .gitignore
Fix build
Add test
Add enum namespace