diff --git a/Cargo.lock b/Cargo.lock index e576e5c..a304438 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1734,17 +1734,6 @@ dependencies = [ "itoa", ] -[[package]] -name = "http-body" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" -dependencies = [ - "bytes", - "http 0.2.11", - "pin-project-lite", -] - [[package]] name = "http-body" version = "1.0.0" @@ -1764,7 +1753,7 @@ dependencies = [ "bytes", "futures-core", "http 1.1.0", - "http-body 1.0.0", + "http-body", "pin-project-lite", ] @@ -1786,29 +1775,6 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" -[[package]] -name = "hyper" -version = "0.14.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2 0.3.26", - "http 0.2.11", - "http-body 0.4.6", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "tokio", - "tower-service", - "tracing", - "want", -] - [[package]] name = "hyper" version = "1.2.0" @@ -1820,8 +1786,9 @@ dependencies = [ "futures-util", "h2 0.4.3", "http 1.1.0", - "http-body 1.0.0", + "http-body", "httparse", + "httpdate", "itoa", "pin-project-lite", "smallvec", @@ -1837,7 +1804,7 @@ checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" dependencies = [ "futures-util", "http 1.1.0", - "hyper 1.2.0", + "hyper", "hyper-util", "rustls", "rustls-pki-types", @@ -1854,7 +1821,7 @@ checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" dependencies = [ "bytes", "http-body-util", - "hyper 1.2.0", + "hyper", "hyper-util", "native-tls", "tokio", @@ -1872,8 +1839,8 @@ dependencies = [ "futures-channel", "futures-util", "http 1.1.0", - "http-body 1.0.0", - "hyper 1.2.0", + "http-body", + "hyper", "pin-project-lite", "socket2 0.5.6", "tokio", @@ -2236,14 +2203,19 @@ checksum = "c9be0862c1b3f26a88803c4a49de6889c10e608b3ee9344e6ef5b45fb37ad3d1" [[package]] name = "mockito" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2f6e023aa5bdf392aa06c78e4a4e6d498baab5138d0c993503350ebbc37bf1e" +checksum = "09b34bd91b9e5c5b06338d392463e1318d683cf82ec3d3af4014609be6e2108d" dependencies = [ "assert-json-diff", + "bytes", "colored", - "futures-core", - "hyper 0.14.28", + "futures-util", + "http 1.1.0", + "http-body", + "http-body-util", + "hyper", + "hyper-util", "log", "rand", "regex", @@ -2816,9 +2788,9 @@ dependencies = [ "futures-util", "h2 0.4.3", "http 1.1.0", - "http-body 1.0.0", + "http-body", "http-body-util", - "hyper 1.2.0", + "hyper", "hyper-rustls", "hyper-tls", "hyper-util", diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index a442564..89854e5 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -13,4 +13,4 @@ tokio = { version = "1.39.2", features = ["full"] } url = "2.5.2" [dev-dependencies] -mockito = "1.4.0" +mockito = "1.5.0" diff --git a/server/Cargo.toml b/server/Cargo.toml index 638e9d8..3f7047f 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -30,7 +30,7 @@ validator = { version = "0.18.1", features = ["derive"] } [dev-dependencies] fake = "2.9.2" -mockito = "1.4.0" +mockito = "1.5.0" test-case = "3.3.1" [[bin]]