From 9601e925e500d888f21a8398a244865517d78ccf Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Mon, 9 Nov 2020 20:13:38 +0000 Subject: [PATCH 1/3] Update *ring* and rustls dependencies --- Cargo.lock | 281 ++++++++--------------------- linkerd/app/Cargo.toml | 6 +- linkerd/app/integration/Cargo.toml | 4 +- linkerd/identity/Cargo.toml | 2 +- linkerd/io/Cargo.toml | 2 +- linkerd/proxy/transport/Cargo.toml | 4 +- 6 files changed, 87 insertions(+), 212 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c363dd3256..000042213c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -70,9 +70,9 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25f9db3b38af870bf7e5cc649167533b493928e50744e2c30ae350230b414670" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -81,9 +81,9 @@ version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26c4f3195085c36ea8d24d32b2f828d23296a9370a28aa39d111f6f16bef9f3b" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -120,12 +120,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "base64" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" - [[package]] name = "base64" version = "0.12.3" @@ -146,9 +140,9 @@ checksum = "e90dc84f5e62d2ebe7676b83c22d33b6db8bd27340fb6ffbff0a364efa0cb9c9" [[package]] name = "bumpalo" -version = "2.6.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad807f2fc2bf185eeb98ff3a901bd46dc5ad58163d0fa4577ba0d25674d71708" +checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" [[package]] name = "byteorder" @@ -183,9 +177,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.40" +version = "1.0.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b548a4ee81fccb95919d4e22cfea83c7693ebfd78f0495493178db20b3139da7" +checksum = "f1770ced377336a88a67c473594ccc14eca6f4559217c34f64aac8f83d641b40" [[package]] name = "cfg-if" @@ -266,9 +260,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc4bfcfacb61d231109d1d55202c1f33263319668b168843e02ad4652725ec9c" dependencies = [ "heck", - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -280,28 +274,6 @@ dependencies = [ "num-traits 0.1.43", ] -[[package]] -name = "failure" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2" -dependencies = [ - "backtrace", - "failure_derive", -] - -[[package]] -name = "failure_derive" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1" -dependencies = [ - "proc-macro2 0.4.27", - "quote 0.6.11", - "syn 0.15.29", - "synstructure", -] - [[package]] name = "fixedbitset" version = "0.2.0" @@ -407,9 +379,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -711,9 +683,9 @@ checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" [[package]] name = "js-sys" -version = "0.3.27" +version = "0.3.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1efc4f2a556c58e79c5500912e221dd826bec64ff4aabd8ce71ccef6da02d7d4" +checksum = "ca059e81d9486668f12d455a4ea6daa600bd408134cd17e3d3fb5a32d1f016f8" dependencies = [ "wasm-bindgen", ] @@ -1754,16 +1726,6 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf51a729ecf40266a2368ad335a5fdde43471f545a967109cd62146ecf8b66ff" -[[package]] -name = "nom" -version = "4.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6" -dependencies = [ - "memchr 2.3.3", - "version_check", -] - [[package]] name = "num-integer" version = "0.1.39" @@ -1876,9 +1838,9 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a0ffd45cf79d88737d7cc85bfd5d2894bee1139b356e616fe85dc389c61aaf7" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -1913,20 +1875,11 @@ checksum = "8e946095f9d3ed29ec38de908c22f95d9ac008e424c7bcae54c75a79c527c694" [[package]] name = "proc-macro2" -version = "0.4.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915" -dependencies = [ - "unicode-xid 0.1.0", -] - -[[package]] -name = "proc-macro2" -version = "1.0.10" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df246d292ff63439fea9bc8c0a270bed0e390d5ebd4db4ba15aba81111b5abe3" +checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" dependencies = [ - "unicode-xid 0.2.0", + "unicode-xid", ] [[package]] @@ -1937,7 +1890,7 @@ checksum = "6ab1427f3d2635891f842892dda177883dca0639e05fe66796a62c9d2f23b49c" dependencies = [ "byteorder", "libc", - "nom 2.2.1", + "nom", "rustc_version", ] @@ -1977,9 +1930,9 @@ checksum = "537aa19b95acde10a12fec4301466386f757403de4cd4e5b4fa78fb5ecb18f72" dependencies = [ "anyhow", "itertools", - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2008,22 +1961,13 @@ dependencies = [ "rand_core 0.5.1", ] -[[package]] -name = "quote" -version = "0.6.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1" -dependencies = [ - "proc-macro2 0.4.27", -] - [[package]] name = "quote" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" dependencies = [ - "proc-macro2 1.0.10", + "proc-macro2", ] [[package]] @@ -2267,13 +2211,13 @@ dependencies = [ [[package]] name = "ring" -version = "0.16.12" +version = "0.16.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba5a8ec64ee89a76c98c549af81ff14813df09c3e6dc4766c3856da48597a0c" +checksum = "952cd6b98c85bbc30efa1ba5783b8abf12fec8b3287ffa52605b9432313e34e4" dependencies = [ "cc", - "lazy_static", "libc", + "once_cell", "spin", "untrusted", "web-sys", @@ -2297,11 +2241,11 @@ dependencies = [ [[package]] name = "rustls" -version = "0.17.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0d4a31f5d68413404705d6982529b0e11a9aacd4839d1d6222ee3b8cb4015e1" +checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81" dependencies = [ - "base64 0.11.0", + "base64 0.12.3", "log", "ring", "sct", @@ -2366,9 +2310,9 @@ version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2426,12 +2370,6 @@ dependencies = [ "winapi 0.3.8", ] -[[package]] -name = "sourcefile" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bf77cb82ba8453b42b6ae1d692e4cdc92f9a47beaf89a847c8be83f4e328ad3" - [[package]] name = "spin" version = "0.5.2" @@ -2449,36 +2387,13 @@ dependencies = [ [[package]] name = "syn" -version = "0.15.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2" -dependencies = [ - "proc-macro2 0.4.27", - "quote 0.6.11", - "unicode-xid 0.1.0", -] - -[[package]] -name = "syn" -version = "1.0.21" +version = "1.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4696caa4048ac7ce2bcd2e484b3cef88c1004e41b8e945a277e2c25dc0b72060" +checksum = "cc371affeffc477f42a221a1e4297aedcea33d47d19b61455588bd9d8f6b19ac" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "unicode-xid 0.2.0", -] - -[[package]] -name = "synstructure" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f" -dependencies = [ - "proc-macro2 0.4.27", - "quote 0.6.11", - "syn 0.15.29", - "unicode-xid 0.1.0", + "proc-macro2", + "quote", + "unicode-xid", ] [[package]] @@ -2510,9 +2425,9 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab81dbd1cd69cd2ce22ecfbdd3bdb73334ba25350649408cc6c085f46d89573d" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2616,16 +2531,16 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0c3acc6aa564495a0f2e1d59fab677cd7f81a19994cfc7f3ad0e64301560389" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "tokio-rustls" -version = "0.13.1" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15cb62a0d2770787abc96e99c1cd98fcf17f94959f3af63ca85bdfb203f051b4" +checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a" dependencies = [ "futures-core", "rustls", @@ -2713,10 +2628,10 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19970cf58f3acc820962be74c4021b8bbc8e8a1c4e3a02095d0aa60cde5f3633" dependencies = [ - "proc-macro2 1.0.10", + "proc-macro2", "prost-build", - "quote 1.0.2", - "syn 1.0.21", + "quote", + "syn", ] [[package]] @@ -2804,9 +2719,9 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fe233f4227389ab7df5b32649239da7ebe0b281824b4e84b342d04d3fd8c25e" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2939,12 +2854,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8083c594e02b8ae1654ae26f0ade5158b119bd88ad0e8227a5d8fcd72407946" -[[package]] -name = "unicode-xid" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" - [[package]] name = "unicode-xid" version = "0.2.0" @@ -2953,9 +2862,9 @@ checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" [[package]] name = "untrusted" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60369ef7a31de49bcb3f6ca728d4ba7300d9a1658f94c727d4cab8c8d9f4aece" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] name = "url" @@ -2986,12 +2895,6 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f2c54fe5e8d6907c60dc6fba532cc8529245d97ff4e26cb490cb462de114ba4" -[[package]] -name = "version_check" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" - [[package]] name = "want" version = "0.3.0" @@ -3010,9 +2913,9 @@ checksum = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d" [[package]] name = "wasm-bindgen" -version = "0.2.50" +version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcddca308b16cd93c2b67b126c688e5467e4ef2e28200dc7dfe4ae284f2faefc" +checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -3020,75 +2923,56 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.50" +version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f805d9328b5fc7e5c6399960fd1889271b9b58ae17bdb2417472156cc9fafdd0" +checksum = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68" dependencies = [ "bumpalo", "lazy_static", "log", - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.50" +version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff88201a482abfc63921621f6cb18eb1efd74f136b05e5841e7f8ca434539e9" +checksum = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038" dependencies = [ - "quote 1.0.2", + "quote", "wasm-bindgen-macro-support", ] [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.50" +version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a433d89ecdb9f77d46fcf00c8cf9f3467b7de9954d8710c175f61e2e245bb0e" +checksum = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe" dependencies = [ - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", + "proc-macro2", + "quote", + "syn", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.50" +version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d41fc1bc3570cdf8d108c15e014045fd45a95bb5eb36605f96a90461fc34027d" - -[[package]] -name = "wasm-bindgen-webidl" -version = "0.2.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be53d289bf2fa7645a089cfd5c7a34bf4fe94221f58cf86ee42a7b4bc854ff14" -dependencies = [ - "failure", - "heck", - "log", - "proc-macro2 1.0.10", - "quote 1.0.2", - "syn 1.0.21", - "wasm-bindgen-backend", - "weedle", -] +checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307" [[package]] name = "web-sys" -version = "0.3.27" +version = "0.3.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6435c477200ad486089a7a72c2bd6c9bdf9740bd7fff868806076218076d8c51" +checksum = "4bf6ef87ad7ae8008e15a355ce696bed26012b7caa21605188cfd8214ab51e2d" dependencies = [ - "failure", "js-sys", - "sourcefile", "wasm-bindgen", - "wasm-bindgen-webidl", ] [[package]] @@ -3100,15 +2984,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "weedle" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bb43f70885151e629e2a19ce9e50bd730fd436cfd4b666894c9ce4de9141164" -dependencies = [ - "nom 4.2.3", -] - [[package]] name = "which" version = "3.1.1" diff --git a/linkerd/app/Cargo.toml b/linkerd/app/Cargo.toml index 3965eaac46..bcc363bbd3 100644 --- a/linkerd/app/Cargo.toml +++ b/linkerd/app/Cargo.toml @@ -39,9 +39,9 @@ http = "0.2" hyper = "0.13.7" linkerd2-metrics = { path = "../metrics", features = ["test_util"] } linkerd2-proxy-api = { git = "https://github.com/linkerd/linkerd2-proxy-api", tag = "v0.1.14", features = ["arbitrary"] } -ring = "0.16" -rustls = "0.17" +ring = "0.16.15" +rustls = "0.18" tokio-connect = { git = "https://github.com/carllerche/tokio-connect" } tokio-io = "0.1.6" -tokio-rustls = "0.13" +tokio-rustls = "0.14.1" webpki = "0.21" diff --git a/linkerd/app/integration/Cargo.toml b/linkerd/app/integration/Cargo.toml index 679a3110c4..e17e402104 100644 --- a/linkerd/app/integration/Cargo.toml +++ b/linkerd/app/integration/Cargo.toml @@ -32,9 +32,9 @@ linkerd2-app-test = { path = "../test" } regex = "0.1" socket2 = "0.3.12" ring = "0.16" -rustls = "0.17" +rustls = "0.18" tokio = { version = "0.2", features = ["io-util", "net", "rt-core"]} -tokio-rustls = "0.13" +tokio-rustls = "0.14.1" tower = { version = "0.3", default-features = false} tonic = { version = "0.3", default-features = false } tracing = "0.1.19" diff --git a/linkerd/identity/Cargo.toml b/linkerd/identity/Cargo.toml index 259426b130..52bff85a7e 100644 --- a/linkerd/identity/Cargo.toml +++ b/linkerd/identity/Cargo.toml @@ -11,7 +11,7 @@ test-util = [] [dependencies] linkerd2-dns-name = { path = "../dns/name" } ring = "0.16" -rustls = "0.17" +rustls = "0.18" tracing = "0.1.2" untrusted = "0.7" webpki = "0.21" diff --git a/linkerd/io/Cargo.toml b/linkerd/io/Cargo.toml index cd48880b91..79ac04e164 100644 --- a/linkerd/io/Cargo.toml +++ b/linkerd/io/Cargo.toml @@ -16,6 +16,6 @@ futures = "0.3" bytes = "0.5" linkerd2-errno = { path = "../errno" } tokio = { version = "0.2", features = ["io-util", "net", "macros"] } -tokio-rustls = "0.13" +tokio-rustls = "0.14.1" tokio-test = { version = "0.2", optional = true } pin-project = "0.4" diff --git a/linkerd/proxy/transport/Cargo.toml b/linkerd/proxy/transport/Cargo.toml index f991de9c72..16652e460d 100644 --- a/linkerd/proxy/transport/Cargo.toml +++ b/linkerd/proxy/transport/Cargo.toml @@ -27,9 +27,9 @@ linkerd2-io = { path = "../../io" } linkerd2-metrics = { path = "../../metrics" } linkerd2-stack = { path = "../../stack" } ring = "0.16" -rustls = "0.17" +rustls = "0.18" tokio = { version = "0.2", features = ["net", "io-util"]} -tokio-rustls = "0.13" +tokio-rustls = "0.14.1" tracing = "0.1.19" webpki = "0.21" untrusted = "0.7" From 6dc6d0c0c23346855c0b956f4c73ce87d7806853 Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Mon, 9 Nov 2020 20:30:24 +0000 Subject: [PATCH 2/3] app: Remove unneeded deps --- Cargo.lock | 15 --------------- linkerd/app/Cargo.toml | 20 ++------------------ linkerd/tracing/Cargo.toml | 1 - 3 files changed, 2 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 000042213c..c1f7588653 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -739,13 +739,7 @@ dependencies = [ name = "linkerd2-app" version = "0.1.0" dependencies = [ - "bytes 0.5.4", "futures 0.3.5", - "h2 0.2.6", - "html-escape", - "http 0.2.1", - "http-body", - "hyper", "indexmap", "ipnet 1.0.0", "linkerd2-app-core", @@ -753,21 +747,13 @@ dependencies = [ "linkerd2-app-inbound", "linkerd2-app-outbound", "linkerd2-error", - "linkerd2-metrics", "linkerd2-opencensus", - "linkerd2-proxy-api", "regex 1.3.9", - "ring", - "rustls", "tokio", - "tokio-connect", - "tokio-io", - "tokio-rustls", "tonic", "tower", "tracing", "tracing-futures", - "webpki", ] [[package]] @@ -1527,7 +1513,6 @@ dependencies = [ "tokio-timer", "tokio-trace", "tracing", - "tracing-futures", "tracing-log", "tracing-subscriber", ] diff --git a/linkerd/app/Cargo.toml b/linkerd/app/Cargo.toml index bcc363bbd3..f0a7143b64 100644 --- a/linkerd/app/Cargo.toml +++ b/linkerd/app/Cargo.toml @@ -14,8 +14,7 @@ This is used by tests and the executable. mock-orig-dst = ["linkerd2-app-core/mock-orig-dst"] [dependencies] -futures = { version = "0.3" } -http-body = "0.3" +futures = "0.3" indexmap = "1.0" ipnet = "1.0" linkerd2-app-core = { path = "./core" } @@ -26,22 +25,7 @@ linkerd2-opencensus = { path = "../opencensus" } linkerd2-error = { path = "../error" } regex = "1.0.0" tokio = { version = "0.2", features = ["rt-util"] } -tonic = { version = "0.3", default-features = false, features = ["prost"] } +tonic = { version = "0.3", default-features = false } tower = "0.3" tracing = "0.1.19" tracing-futures = { version = "0.2", features = ["std-future"]} -html-escape = "0.2.5" - -[dev-dependencies] -bytes = "0.5" -h2 = "0.2.6" -http = "0.2" -hyper = "0.13.7" -linkerd2-metrics = { path = "../metrics", features = ["test_util"] } -linkerd2-proxy-api = { git = "https://github.com/linkerd/linkerd2-proxy-api", tag = "v0.1.14", features = ["arbitrary"] } -ring = "0.16.15" -rustls = "0.18" -tokio-connect = { git = "https://github.com/carllerche/tokio-connect" } -tokio-io = "0.1.6" -tokio-rustls = "0.14.1" -webpki = "0.21" diff --git a/linkerd/tracing/Cargo.toml b/linkerd/tracing/Cargo.toml index c5d7e7c30a..cf835b7384 100644 --- a/linkerd/tracing/Cargo.toml +++ b/linkerd/tracing/Cargo.toml @@ -15,7 +15,6 @@ serde_json = "1" tokio-timer = "0.2" tokio-trace = { git = "https://github.com/hawkw/tokio-trace", rev = "a8240c5cbb4ff981def84920d4087ef23b5edb93", features = ["serde"] } tracing = "0.1.19" -tracing-futures = { version = "0.2" } tracing-log = "0.1" [dependencies.tracing-subscriber] From 849b03ca7d477ae4623d5a535792e4a2abe6f699 Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Mon, 9 Nov 2020 20:38:28 +0000 Subject: [PATCH 3/3] Prune unneeded ring dependencies --- Cargo.lock | 2 -- linkerd/app/integration/Cargo.toml | 3 +-- linkerd/proxy/transport/Cargo.toml | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c1f7588653..63080a3f90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -867,7 +867,6 @@ dependencies = [ "linkerd2-metrics", "linkerd2-proxy-api", "regex 0.1.80", - "ring", "rustls", "socket2", "tokio", @@ -1360,7 +1359,6 @@ dependencies = [ "linkerd2-metrics", "linkerd2-stack", "pin-project", - "ring", "rustls", "tokio", "tokio-rustls", diff --git a/linkerd/app/integration/Cargo.toml b/linkerd/app/integration/Cargo.toml index e17e402104..454e481e22 100644 --- a/linkerd/app/integration/Cargo.toml +++ b/linkerd/app/integration/Cargo.toml @@ -31,11 +31,10 @@ linkerd2-proxy-api = { git = "https://github.com/linkerd/linkerd2-proxy-api", ta linkerd2-app-test = { path = "../test" } regex = "0.1" socket2 = "0.3.12" -ring = "0.16" rustls = "0.18" tokio = { version = "0.2", features = ["io-util", "net", "rt-core"]} tokio-rustls = "0.14.1" -tower = { version = "0.3", default-features = false} +tower = { version = "0.3", default-features = false} tonic = { version = "0.3", default-features = false } tracing = "0.1.19" tracing-futures = { version = "0.2", features = ["std-future"] } diff --git a/linkerd/proxy/transport/Cargo.toml b/linkerd/proxy/transport/Cargo.toml index 16652e460d..1332e3275c 100644 --- a/linkerd/proxy/transport/Cargo.toml +++ b/linkerd/proxy/transport/Cargo.toml @@ -26,7 +26,6 @@ linkerd2-identity = { path = "../../identity" } linkerd2-io = { path = "../../io" } linkerd2-metrics = { path = "../../metrics" } linkerd2-stack = { path = "../../stack" } -ring = "0.16" rustls = "0.18" tokio = { version = "0.2", features = ["net", "io-util"]} tokio-rustls = "0.14.1"