monkslc / hyperpolyglot

A fast programming language detector
Apache License 2.0
56 stars 13 forks source link

update phf to 0.11.1 #11

Closed llogiq closed 1 year ago

llogiq commented 1 year ago

phf 0.8 is quite outdated, and this is the only dependency of our tool that pull it in, so I'd like to see this update.

To get this, I did three steps:

  1. update Cargo.toml, changing the phf-codegen version to "0.11.1"
  2. cargo run --release --bin codegen
  3. update Cargo.toml, changing the phf version to "0.11.1" to match codegen