diff --git a/Cargo.lock b/Cargo.lock index 3e5d1d12e..1f73611dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1973,6 +1973,7 @@ dependencies = [ "http 1.3.1", "http-body", "httparse", + "httpdate", "itoa", "pin-project-lite", "smallvec", @@ -2565,20 +2566,26 @@ dependencies = [ [[package]] name = "mockito" -version = "0.31.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80f9fece9bd97ab74339fe19f4bcaf52b76dcc18e5364c7977c1838f76b38de9" +checksum = "7760e0e418d9b7e5777c0374009ca4c93861b9066f18cb334a20ce50ab63aa48" dependencies = [ "assert-json-diff", + "bytes", "colored", - "httparse", - "lazy_static", + "futures-util", + "http 1.3.1", + "http-body", + "http-body-util", + "hyper", + "hyper-util", "log", - "rand 0.8.5", + "rand 0.9.0", "regex", "serde_json", "serde_urlencoded", "similar", + "tokio", ] [[package]] diff --git a/cincinnati/Cargo.toml b/cincinnati/Cargo.toml index 14f36d5fa..9ce631e1b 100644 --- a/cincinnati/Cargo.toml +++ b/cincinnati/Cargo.toml @@ -47,7 +47,7 @@ similar = { version = "2.6.0", optional = true } thiserror = "1.0" [dev-dependencies] -mockito = "0.31.1" +mockito = "1.7.0" serde_json = "1.0.109" memchr = "^2.7" pretty_assertions = "1.4.1" diff --git a/policy-engine/Cargo.toml b/policy-engine/Cargo.toml index d64018601..0e877e976 100644 --- a/policy-engine/Cargo.toml +++ b/policy-engine/Cargo.toml @@ -38,4 +38,4 @@ built = { version = "^0.7.4", features = [ "git2" ]} [dev-dependencies] tokio = { version = "1.33", features = [ "rt-multi-thread" ] } memchr = "^2.7" -mockito = "0.31.1" +mockito = "1.7.0"