Use perfrect hash map for new implementation of dc_msg_guess_msgtype_from_suffix

This commit is contained in:
Dmitry Bogatov
2019-08-14 18:14:58 +00:00
committed by holger krekel
parent 5917d05305
commit 6beea86df7
4 changed files with 230 additions and 205 deletions

View File

@@ -16,7 +16,7 @@ pgp = { version = "0.2", default-features = false }
hex = "0.3.2"
sha2 = "0.8.0"
rand = "0.6.5"
maplit = "1.0.1"
phf = { git = "https://github.com/sfackler/rust-phf", rev = "0d00821", features = ["macros"] }
smallvec = "0.6.9"
reqwest = "0.9.15"
num-derive = "0.2.5"