From 8300a320d3d361d687ca6920e616a06e2f583354 Mon Sep 17 00:00:00 2001 From: Darius Date: Sun, 18 Dec 2022 15:48:51 -0500 Subject: [PATCH] chore: Update libipld to 0.15 --- Cargo.lock | 66 ++++++++++++++++++++++++------------------------------ Cargo.toml | 6 ++--- 2 files changed, 32 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e75d550..1792fb4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -346,16 +346,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c" -[[package]] -name = "cached" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af4dfac631a8e77b2f327f7852bb6172771f5279c4512efe79fad6067b37be3d" -dependencies = [ - "hashbrown 0.11.2", - "once_cell", -] - [[package]] name = "cc" version = "1.0.73" @@ -395,13 +385,13 @@ dependencies = [ [[package]] name = "cid" -version = "0.8.6" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ed9c8b2d17acb8110c46f1da5bf4a696d745e1474a16db0cd2b49cd0249bf2" +checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash", + "multihash 0.17.0", "serde", "unsigned-varint", ] @@ -839,12 +829,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" - [[package]] name = "hashbrown" version = "0.12.3" @@ -948,7 +932,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" dependencies = [ "autocfg", - "hashbrown 0.12.3", + "hashbrown", ] [[package]] @@ -1019,27 +1003,24 @@ checksum = "68783febc7782c6c5cb401fbda4de5a9898be1762314da0bb2c10ced61f18b0c" [[package]] name = "libipld" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac9c3aa309c260aa2f174bac968901eddc546e9d85950c28eae6a7bec402f926" +checksum = "a20e38e0ad9a2fd600476691fa0780421931a198279985e398a3a0851903e1b2" dependencies = [ - "async-trait", - "cached", "fnv", "libipld-cbor", "libipld-core", "libipld-macro", "log", - "multihash", - "parking_lot", + "multihash 0.17.0", "thiserror", ] [[package]] name = "libipld-cbor" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dd1ab68c9d26f20c7d0dfea6eecbae8c00359875210001b33ca27d4a02f3d09" +checksum = "4b75370e27e0745910a9991c83f365cdae58027acf0502aa7987ac538a8a4744" dependencies = [ "byteorder", "libipld-core", @@ -1048,23 +1029,23 @@ dependencies = [ [[package]] name = "libipld-core" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d44790246ec6b7314cba745992c23d479d018073e66d49ae40ae1b64e5dd8eb5" +checksum = "b7a704ba3b25dee9e7a2361fae2c7c19defae2a92e69ae96ffb203996705cd7c" dependencies = [ "anyhow", "cid", "core2", "multibase", - "multihash", + "multihash 0.17.0", "thiserror", ] [[package]] name = "libipld-macro" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852c011562ae5059b67c3a917f9f5945af5a68df8e39ede4444fff33274d25e2" +checksum = "d4c7ccd89e54f2796cf3f99aabeea7a7751d418df504926544f28348d3c890c7" dependencies = [ "libipld-core", ] @@ -1108,7 +1089,7 @@ dependencies = [ "lazy_static", "libipld", "libp2p", - "multihash", + "multihash 0.17.0", "prometheus", "prost 0.9.0", "prost-build 0.9.0", @@ -1135,7 +1116,7 @@ dependencies = [ "lazy_static", "log", "multiaddr", - "multihash", + "multihash 0.16.3", "multistream-select", "parking_lot", "pin-project", @@ -1360,7 +1341,7 @@ dependencies = [ "bs58", "byteorder", "data-encoding", - "multihash", + "multihash 0.16.3", "percent-encoding", "serde", "static_assertions", @@ -1385,7 +1366,6 @@ version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c346cf9999c631f002d8f977c4eaeaa0e6386f16007202308d0b3757522c2cc" dependencies = [ - "blake3", "core2", "digest 0.10.5", "multihash-derive", @@ -1393,6 +1373,18 @@ dependencies = [ "unsigned-varint", ] +[[package]] +name = "multihash" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" +dependencies = [ + "blake3", + "core2", + "multihash-derive", + "unsigned-varint", +] + [[package]] name = "multihash-derive" version = "0.8.0" diff --git a/Cargo.toml b/Cargo.toml index a0c243c..ef4b202 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ async-trait = "0.1.52" fnv = "1.0.7" futures = "0.3.19" lazy_static = "1.4.0" -libipld = { version = "0.14.0", default-features = false } +libipld = { version = "0.15.0", default-features = false } libp2p = { version = "0.49.0", features = ["request-response"] } prometheus = "0.13.0" prost = { version = "0.9.0", optional = true } @@ -29,7 +29,7 @@ unsigned-varint = { version = "0.7.1", features = ["futures", "std"] } [dev-dependencies] async-std = { version = "1.10.0", features = ["attributes"] } env_logger = "0.9.0" -libipld = { version = "0.14.0", default-features = false, features = ["dag-cbor"] } +libipld = { version = "0.15.0", default-features = false, features = ["dag-cbor"] } libp2p = { version = "0.49.0", features = ["tcp", "noise", "yamux", "rsa", "async-std"] } -multihash = { version = "0.16.1", default-features = false, features = ["blake3"] } +multihash = { version = "0.17", default-features = false, features = ["blake3"] } tracing-subscriber = { version = "0.3.5", features = ["env-filter"] }