diff --git a/Cargo.lock b/Cargo.lock index 91d9c36..dc4ed6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2163,9 +2163,9 @@ checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "reqwest" -version = "0.11.20" +version = "0.11.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e9ad3fe7488d7e34558a2033d45a0c90b72d97b4f80705666fea71472e2e6a1" +checksum = "78fdbab6a7e1d7b13cc8ff10197f47986b41c639300cc3c8158cac7847c9bbef" dependencies = [ "base64 0.21.4", "bytes", @@ -2188,6 +2188,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", + "system-configuration", "tokio", "tokio-native-tls", "tower-service", @@ -2684,6 +2685,27 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "system-configuration" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "tcp-stream" version = "0.26.1" diff --git a/Cargo.toml b/Cargo.toml index 00e5a9b..e6bbc13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ lapin = "2.1.1" lazy_static = "1.4.0" phf = { version = "0.11.1", features = ["macros"] } redis = { version = "0.22", default-features = false, features = ["bytes"] } -reqwest = { version = "0.11.12", features = ["json"] } +reqwest = { version = "0.11.21", features = ["json"] } # rocket = { version = "0.5.0-rc.2", features = ["json", "uuid"] } rocket = { git = "https://github.com/SergioBenitez/Rocket.git", branch = "master", features = ["json", "uuid"] } serde = { version = "1.0.147", features = ["derive"] }