From e4e6f724af21a881dbcae5260409b3bae5a40386 Mon Sep 17 00:00:00 2001 From: Enzo Cioppettini Date: Fri, 17 Dec 2021 16:52:26 -0300 Subject: [PATCH] remove apparently unused dependencies --- Cargo.lock | 176 +--------------------- jormungandr-lib/Cargo.toml | 1 - testing/jormungandr-automation/Cargo.toml | 4 - 3 files changed, 2 insertions(+), 179 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1c97f62374..cc19a297cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,12 +27,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "adler32" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" - [[package]] name = "ahash" version = "0.7.4" @@ -261,7 +255,7 @@ dependencies = [ "cc", "cfg-if 1.0.0", "libc", - "miniz_oxide 0.4.4", + "miniz_oxide", "object", "rustc-demangle", ] @@ -403,12 +397,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" -[[package]] -name = "bytemuck" -version = "1.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72957246c41db82b8ef88a5486143830adeb8227ef9837740bdec67724cf2c5b" - [[package]] name = "byteorder" version = "1.4.3" @@ -662,12 +650,6 @@ dependencies = [ "vec_map", ] -[[package]] -name = "color_quant" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" - [[package]] name = "combine" version = "3.8.1" @@ -1028,16 +1010,6 @@ dependencies = [ "memmap2", ] -[[package]] -name = "deflate" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73770f8e1fe7d64df17ca66ad28994a0a623ea497fa69486e14984e715c5d174" -dependencies = [ - "adler32", - "byteorder", -] - [[package]] name = "derive_more" version = "0.99.16" @@ -1110,14 +1082,6 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" -[[package]] -name = "eccoxide" -version = "0.2.0" -source = "git+https://github.com/eugene-babichenko/eccoxide.git?branch=fast-u64-scalar-mul#d921d47523087b76c8c1dc32ec3495c581f83a82" -dependencies = [ - "lazy_static", -] - [[package]] name = "ed25519" version = "1.2.0" @@ -1236,7 +1200,7 @@ dependencies = [ "cfg-if 1.0.0", "crc32fast", "libc", - "miniz_oxide 0.4.4", + "miniz_oxide", ] [[package]] @@ -1448,16 +1412,6 @@ dependencies = [ "wasi 0.10.2+wasi-snapshot-preview1", ] -[[package]] -name = "gif" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a668f699973d0f573d15749b7002a9ac9e1f9c6b220e7b165601334c173d8de" -dependencies = [ - "color_quant", - "weezl", -] - [[package]] name = "gimli" version = "0.25.0" @@ -1823,25 +1777,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "image" -version = "0.23.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24ffcb7e7244a9bf19d35bf2883b9c080c4ced3c07a9895572178cdb8f13f6a1" -dependencies = [ - "bytemuck", - "byteorder", - "color_quant", - "gif", - "jpeg-decoder", - "num-iter", - "num-rational", - "num-traits", - "png", - "scoped_threadpool", - "tiff", -] - [[package]] name = "imhamt" version = "0.1.0" @@ -2030,7 +1965,6 @@ dependencies = [ "graphql_client", "hex", "humantime", - "image", "jormungandr-lib", "jortestkit", "json", @@ -2043,8 +1977,6 @@ dependencies = [ "poldercast", "predicates 2.1.0", "prost", - "qrcodegen", - "quircs", "rand 0.8.4", "rand_chacha 0.3.1", "rand_core 0.6.3", @@ -2056,7 +1988,6 @@ dependencies = [ "serde_json", "serde_yaml", "strum", - "symmetric-cipher", "sysinfo 0.21.1", "tar", "tempfile", @@ -2139,7 +2070,6 @@ dependencies = [ "chain-time", "chain-vote", "chrono", - "eccoxide", "ed25519-bip32", "hex", "http", @@ -2201,15 +2131,6 @@ dependencies = [ "zip", ] -[[package]] -name = "jpeg-decoder" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "229d53d58899083193af11e15917b5640cd40b29ff475a1fe4ef725deb02d0f2" -dependencies = [ - "rayon", -] - [[package]] name = "js-sys" version = "0.3.51" @@ -2372,15 +2293,6 @@ dependencies = [ "unicase", ] -[[package]] -name = "miniz_oxide" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435" -dependencies = [ - "adler32", -] - [[package]] name = "miniz_oxide" version = "0.4.4" @@ -2570,28 +2482,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-iter" -version = "0.1.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12ac428b1cb17fce6f731001d307d351ec70a6d202fc2e60f7d4c5e42d8f4f07" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.14" @@ -2834,18 +2724,6 @@ dependencies = [ "plotters-backend", ] -[[package]] -name = "png" -version = "0.16.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c3287920cb847dee3de33d301c463fba14dda99db24214ddf93f83d3021f4c6" -dependencies = [ - "bitflags", - "crc32fast", - "deflate", - "miniz_oxide 0.3.7", -] - [[package]] name = "poldercast" version = "1.2.0" @@ -3062,12 +2940,6 @@ version = "2.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db50e77ae196458ccd3dc58a31ea1a90b0698ab1b7928d89f644c25d72070267" -[[package]] -name = "qrcodegen" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d24ea38b2345f15533e6668104bec0136883404287e095f15f9ea2522e2b4b6c" - [[package]] name = "quick-error" version = "1.2.3" @@ -3103,17 +2975,6 @@ dependencies = [ "syn 1.0.74", ] -[[package]] -name = "quircs" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "088cd18eb88277186050867dbfc7079eba83a753e4bc2b51c0feef6908679f4a" -dependencies = [ - "num-derive", - "num-traits", - "thiserror", -] - [[package]] name = "quote" version = "0.6.13" @@ -3476,12 +3337,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" -[[package]] -name = "scoped_threadpool" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8" - [[package]] name = "scopeguard" version = "1.1.0" @@ -3857,16 +3712,6 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8049cf85f0e715d6af38dde439cb0ccb91f67fb9f5f63c80f8b43e48356e1a3f" -[[package]] -name = "symmetric-cipher" -version = "0.5.0" -source = "git+https://github.com/input-output-hk/chain-wallet-libs.git?branch=master#74820529edc37fa5ff128d6e511872122e9a545b" -dependencies = [ - "cryptoxide", - "rand 0.8.4", - "thiserror", -] - [[package]] name = "syn" version = "0.15.44" @@ -4051,17 +3896,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "tiff" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a53f4706d65497df0c4349241deddf35f84cee19c87ed86ea8ca590f4464437" -dependencies = [ - "jpeg-decoder", - "miniz_oxide 0.4.4", - "weezl", -] - [[package]] name = "time" version = "0.1.43" @@ -4790,12 +4624,6 @@ dependencies = [ "webpki 0.22.0", ] -[[package]] -name = "weezl" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b77fdfd5a253be4ab714e4ffa3c49caf146b4de743e97510c0656cf90f1e8e" - [[package]] name = "which" version = "4.1.0" diff --git a/jormungandr-lib/Cargo.toml b/jormungandr-lib/Cargo.toml index b9ebe5c4c7..cbb96638fe 100644 --- a/jormungandr-lib/Cargo.toml +++ b/jormungandr-lib/Cargo.toml @@ -29,7 +29,6 @@ hex = "0.4" bech32 = "0.8" base64 = "0.13.0" http = "0.2.2" -eccoxide = { git = "https://github.com/eugene-babichenko/eccoxide.git", branch = "fast-u64-scalar-mul", features = ["fast-u64-scalar-mul"], optional = true } [dev-dependencies] quickcheck = "0.9" diff --git a/testing/jormungandr-automation/Cargo.toml b/testing/jormungandr-automation/Cargo.toml index ececdd0188..e890102692 100644 --- a/testing/jormungandr-automation/Cargo.toml +++ b/testing/jormungandr-automation/Cargo.toml @@ -52,10 +52,6 @@ url = "2.2.0" graphql_client = "0.10.0" semver = { version = "1.0", features = ["serde"] } json = "0.12.4" -symmetric-cipher = { git = "https://github.com/input-output-hk/chain-wallet-libs.git", branch = "master" } -qrcodegen = "1.6" -quircs = "0.10.0" -image = "0.23.12" strum = { version = "0.22", features = ["derive"] } tracing = "0.1" log = { version = "0.4", features = ["serde"] }