diff --git a/Cargo.lock b/Cargo.lock index 48812ba6e76fe3f6ea9fae2809da78723767c5ae..4d97bfc7e8095f87fe9b8070eb20ab639f597d77 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -927,7 +927,7 @@ dependencies = [ "json-pest-parser 0.2.0", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "maplit 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "mockall 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "mockall 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)", "pbr 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -961,7 +961,7 @@ dependencies = [ "durs-wot 0.8.0-a0.9", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "maplit 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "mockall 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "mockall 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "unwrap 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1098,7 +1098,7 @@ dependencies = [ "juniper 0.14.2 (registry+https://github.com/rust-lang/crates.io-index)", "juniper-from-schema 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mockall 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "mockall 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1890,21 +1890,21 @@ dependencies = [ [[package]] name = "mockall" -version = "0.5.2" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "downcast 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "fragile 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "mockall_derive 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "mockall_derive 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "predicates 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "predicates-tree 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "mockall_derive" -version = "0.5.2" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3473,8 +3473,8 @@ dependencies = [ "checksum mio-extras 2.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" "checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" -"checksum mockall 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7601dfc82314f4e4ad844055452f71c1d5d171e4b530f817b9353bb2e63a271d" -"checksum mockall_derive 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a26211f315c132a546ed185f3a17f7617a8e58d8511025d5f8665017194cf8be" +"checksum mockall 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b95a7e7cfbce0e99ebbf5356a085d3b5e320a7ef300f77cd50a7148aa362e7c2" +"checksum mockall_derive 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d5a615a1ad92048ad5d9633251edb7492b8abc057d7a679a9898476aef173935" "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" "checksum nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6" "checksum normalize-line-endings 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2e0a1a39eab95caf4f5556da9289b9e68f0aafac901b2ce80daaf020d3b733a8" diff --git a/lib/modules-lib/bc-db-reader/Cargo.toml b/lib/modules-lib/bc-db-reader/Cargo.toml index f5b82d028b8bb26677b4d94a72479af3feb99e16..7523a25c01653914a03ed4a45bf0fd07820f2dce 100644 --- a/lib/modules-lib/bc-db-reader/Cargo.toml +++ b/lib/modules-lib/bc-db-reader/Cargo.toml @@ -23,7 +23,7 @@ durs-dbs-tools = { path = "../../tools/dbs-tools" } durs-wot = { path = "../../dubp/wot" } log = "0.4.*" maplit = "1.0.1" -mockall = { version = "0.5.2", optional = true } +mockall = { version = "0.6.0", optional = true } serde = { version = "1.0.*", features = ["derive"] } unwrap = "1.2.1" diff --git a/lib/modules/blockchain/blockchain/Cargo.toml b/lib/modules/blockchain/blockchain/Cargo.toml index d5c3a80767e114d1ae5cbfbbef07fd258e18cc8f..716f20faff227eb2600dd815e5bc6a0c3d6653dd 100644 --- a/lib/modules/blockchain/blockchain/Cargo.toml +++ b/lib/modules/blockchain/blockchain/Cargo.toml @@ -46,6 +46,6 @@ dubp-blocks-tests-tools = { path = "../../../tests-tools/blocks-tests-tools" } durs-bc-db-reader = { path = "../../../modules-lib/bc-db-reader", features = ["mock"] } durs-common-tests-tools = { path = "../../../tests-tools/common-tests-tools" } maplit = "1.0.1" -mockall = "0.5.2" +mockall = "0.6.0" pretty_assertions = "0.6.1" tempfile = "3.1.0" diff --git a/lib/modules/gva/Cargo.toml b/lib/modules/gva/Cargo.toml index 7c8c8c8bc21053c1821d578b0995d7deb7fbb3c5..d3d5d42f46dbe60ff5f7cc7efbfd65d33652beec 100644 --- a/lib/modules/gva/Cargo.toml +++ b/lib/modules/gva/Cargo.toml @@ -39,6 +39,6 @@ assert-json-diff = "1.0.1" durs-bc-db-reader = { path = "../../modules-lib/bc-db-reader", features = ["client-indexer", "mock"] } dubp-blocks-tests-tools = { path = "../../tests-tools/blocks-tests-tools" } dup-crypto-tests-tools = { path = "../../tests-tools/crypto-tests-tools" } -mockall = "0.5.2" +mockall = "0.6.0" [features]