Upgrade maxminddb to latest version.
This commit is contained in:
Родитель
bf48daa96a
Коммит
7a9693734b
|
@ -1007,6 +1007,15 @@ dependencies = [
|
|||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ipnetwork"
|
||||
version = "0.18.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4088d739b183546b239688ddbc79891831df421773df95e236daf7867866d355"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "itoa"
|
||||
version = "0.4.8"
|
||||
|
@ -1095,11 +1104,13 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
|
|||
|
||||
[[package]]
|
||||
name = "maxminddb"
|
||||
version = "0.17.3"
|
||||
version = "0.23.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d13fa57adcc4f3aca91e511b3cdaa58ed8cbcbf97f20e342a11218c76e127f51"
|
||||
checksum = "fe2ba61113f9f7a9f0e87c519682d39c43a6f3f79c2cc42c3ba3dda83b1fa334"
|
||||
dependencies = [
|
||||
"ipnetwork",
|
||||
"log",
|
||||
"memchr",
|
||||
"serde",
|
||||
]
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ cadence = "^0.29.0"
|
|||
envy = "^0.4.0"
|
||||
futures = "^0.3"
|
||||
lazy_static = "^1.2.0"
|
||||
maxminddb = "^0.17"
|
||||
maxminddb = "^0.23.0"
|
||||
regex = "^1.1.0"
|
||||
serde = "^1.0.80"
|
||||
serde_derive = "^1.0.80"
|
||||
|
|
|
@ -77,7 +77,7 @@ mod tests {
|
|||
assert_eq!(*value.get("country").unwrap(), Value::Null);
|
||||
|
||||
classification.country = Some(geoip2::Country {
|
||||
country: Some(geoip2::model::Country {
|
||||
country: Some(geoip2::country::Country {
|
||||
geoname_id: None,
|
||||
iso_code: Some("US"),
|
||||
names: None,
|
||||
|
|
Загрузка…
Ссылка в новой задаче