Update bitflags and attributes for latest rust
Merge pull request #16 from jdeseno/latest-rust

Update bitflags and attributes for latest rust