feat(langtags): use true language tags in headers
Make hyper dependant on rust-language-tags providing complete parsing and formatting of language tags. Remove builtin solution for simple tags. BREAKING CHANGE: AcceptLanguage and ContentLanguage use LanguageTag now, Language removed from Hyper.
This commit is contained in:
@@ -13,6 +13,7 @@ keywords = ["http", "hyper", "hyperium"]
|
||||
|
||||
[dependencies]
|
||||
httparse = "0.1"
|
||||
language-tags = "0.0.7"
|
||||
log = "0.3"
|
||||
mime = "0.0.12"
|
||||
num_cpus = "0.2"
|
||||
|
||||
Reference in New Issue
Block a user