Update deprecated functions
Merge pull request #201 from bjz/fix-warnings

Update deprecated functions
Updated for latest Rust (75a39e0fb): bitflags now includes deriving(Hash).
Merge pull request #203 from eddyb/master

Updated for latest Rust (75a39e0fb): bitflags now includes deriving(Hash).