use phf (generate hashmap at compiletime)

This commit is contained in:
Simon Gardling
2022-03-29 16:50:28 -04:00
parent 3c09919627
commit d9c6c8143e
4 changed files with 133 additions and 113 deletions

View File

@@ -38,10 +38,12 @@ serde_json = "1.0.79"
tracing = "0.1.32"
itertools = "0.10.3"
static_assertions = "1.1.0"
phf = "0.10.1"
[build-dependencies]
shadow-rs = "0.11.0"
command-run = "1.1.1"
phf_codegen = "0.10.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
instant = { version = "0.1.12" }