added Cargo.toml
updated HashMap use declarations
changed Eq to PartialEq as it was renamed on 0.11
changed `phase` attribute `syntax` to `plugin` since it is an alias of `plugin` and deprecated in 0.11
added debug crate