about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2023-02-27 00:26:56 +0300
committerVika <vika@fireburn.ru>2023-02-27 00:26:56 +0300
commit3985d0f551236e5413e0807239f75d178f82ff3d (patch)
treeb1251edacff5c199b46adc162283dd5abc506005
parent86c6a9dbace2053fc012078e210bccb0470c5a6d (diff)
downloadkittybox-3985d0f551236e5413e0807239f75d178f82ff3d.tar.zst
mockito: 0.30.0 -> 0.32.3
-rw-r--r--flake.nix6
-rw-r--r--kittybox-rs/Cargo.lock24
-rw-r--r--kittybox-rs/Cargo.toml2
3 files changed, 18 insertions, 14 deletions
diff --git a/flake.nix b/flake.nix
index 908f778..bcbb7dc 100644
--- a/flake.nix
+++ b/flake.nix
@@ -4,11 +4,11 @@
       type = "github";
       owner = "numtide";
       repo = "flake-utils";
-      ref = "master";
+      ref = "main";
     };
     naersk = {
       type = "github";
-      owner = "nmattia";
+      owner = "nix-community";
       repo = "naersk";
       ref = "master";
       inputs.nixpkgs.follows = "nixpkgs";
@@ -17,7 +17,7 @@
       type = "github";
       owner = "nixos";
       repo = "nixpkgs";
-      ref = "nixos-22.11";
+      ref = "nixos-unstable";
     };
   };
   outputs = { self, nixpkgs, flake-utils, naersk }: let
diff --git a/kittybox-rs/Cargo.lock b/kittybox-rs/Cargo.lock
index db77aba..966e3ab 100644
--- a/kittybox-rs/Cargo.lock
+++ b/kittybox-rs/Cargo.lock
@@ -682,12 +682,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "8c1bba4f227a4a53d12b653f50ca7bf10c9119ae2aba56aff9e0338b5c98f36a"
 
 [[package]]
-name = "difference"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
-
-[[package]]
 name = "digest"
 version = "0.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1698,20 +1692,24 @@ dependencies = [
 
 [[package]]
 name = "mockito"
-version = "0.30.0"
+version = "0.32.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d10030163d67f681db11810bc486df3149e6d91c8b4f3f96fa8b62b546c2cef8"
+checksum = "09908a0c0e8c956c1360268b54c0f7eeefc7ef98020cfb81077fa71761a18d29"
 dependencies = [
  "assert-json-diff",
+ "async-trait",
  "colored",
- "difference",
- "httparse",
+ "deadpool",
+ "futures",
+ "hyper",
  "lazy_static",
  "log",
  "rand 0.8.5",
  "regex",
  "serde_json",
  "serde_urlencoded",
+ "similar",
+ "tokio",
 ]
 
 [[package]]
@@ -2865,6 +2863,12 @@ dependencies = [
 ]
 
 [[package]]
+name = "similar"
+version = "2.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf"
+
+[[package]]
 name = "siphasher"
 version = "0.2.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/kittybox-rs/Cargo.toml b/kittybox-rs/Cargo.toml
index bb6c021..566cb57 100644
--- a/kittybox-rs/Cargo.toml
+++ b/kittybox-rs/Cargo.toml
@@ -53,7 +53,7 @@ features = ["axum"]
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dev-dependencies]
-mockito = "^0.30.0"          # HTTP mocking for Rust.
+mockito = "^0.32.3"          # HTTP mocking for Rust.
 tempdir = "^0.3.7"           # A library for managing a temporary directory and deleting all contents when it's dropped
 wiremock = "^0.5.14"
 faker_rand = "^0.1.1"        # Seedable, rand-compatible generators of fake data