diff --git a/Cargo.lock b/Cargo.lock index 91d9c36..070c197 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2163,9 +2163,9 @@ checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "reqwest" -version = "0.11.20" +version = "0.11.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e9ad3fe7488d7e34558a2033d45a0c90b72d97b4f80705666fea71472e2e6a1" +checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ "base64 0.21.4", "bytes", @@ -2185,9 +2185,12 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", + "rustls-pemfile", "serde", "serde_json", "serde_urlencoded", + "sync_wrapper", + "system-configuration", "tokio", "tokio-native-tls", "tower-service", @@ -2684,6 +2687,33 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "sync_wrapper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" + +[[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..3eac852 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.27", 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"] }