diff --git a/Cargo.lock b/Cargo.lock index 3211da1..6818c00 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -519,6 +519,16 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +[[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.83" @@ -560,13 +570,13 @@ dependencies = [ [[package]] name = "cid" -version = "0.9.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" +checksum = "f6ed9c8b2d17acb8110c46f1da5bf4a696d745e1474a16db0cd2b49cd0249bf2" dependencies = [ "core2", "multibase", - "multihash 0.17.0", + "multihash 0.16.3", "serde", "unsigned-varint 0.7.2", ] @@ -1117,6 +1127,12 @@ 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.14.3" @@ -1297,7 +1313,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" dependencies = [ "equivalent", - "hashbrown", + "hashbrown 0.14.3", ] [[package]] @@ -1394,24 +1410,27 @@ checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" [[package]] name = "libipld" -version = "0.15.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a20e38e0ad9a2fd600476691fa0780421931a198279985e398a3a0851903e1b2" +checksum = "ac9c3aa309c260aa2f174bac968901eddc546e9d85950c28eae6a7bec402f926" dependencies = [ + "async-trait", + "cached", "fnv", "libipld-cbor", "libipld-core", "libipld-macro", "log", - "multihash 0.17.0", + "multihash 0.16.3", + "parking_lot", "thiserror", ] [[package]] name = "libipld-cbor" -version = "0.15.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b75370e27e0745910a9991c83f365cdae58027acf0502aa7987ac538a8a4744" +checksum = "8dd1ab68c9d26f20c7d0dfea6eecbae8c00359875210001b33ca27d4a02f3d09" dependencies = [ "byteorder", "libipld-core", @@ -1420,23 +1439,23 @@ dependencies = [ [[package]] name = "libipld-core" -version = "0.15.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7a704ba3b25dee9e7a2361fae2c7c19defae2a92e69ae96ffb203996705cd7c" +checksum = "d44790246ec6b7314cba745992c23d479d018073e66d49ae40ae1b64e5dd8eb5" dependencies = [ "anyhow", "cid", "core2", "multibase", - "multihash 0.17.0", + "multihash 0.16.3", "thiserror", ] [[package]] name = "libipld-macro" -version = "0.15.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c7ccd89e54f2796cf3f99aabeea7a7751d418df504926544f28348d3c890c7" +checksum = "852c011562ae5059b67c3a917f9f5945af5a68df8e39ede4444fff33274d25e2" dependencies = [ "libipld-core", ] @@ -1495,7 +1514,7 @@ dependencies = [ "lazy_static", "libipld", "libp2p", - "multihash 0.17.0", + "multihash 0.16.3", "prometheus", "prost", "prost-build", @@ -1861,9 +1880,9 @@ dependencies = [ [[package]] name = "multihash" -version = "0.17.0" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" +checksum = "1c346cf9999c631f002d8f977c4eaeaa0e6386f16007202308d0b3757522c2cc" dependencies = [ "blake3", "core2", diff --git a/Cargo.toml b/Cargo.toml index 2c2ba61..ca65d79 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.15.0", default-features = false } +libipld = { version = "0.14.0", default-features = false } libp2p = { version = "0.53", 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.15.0", default-features = false, features = ["dag-cbor"] } +libipld = { version = "0.14.0", default-features = false, features = ["dag-cbor"] } libp2p = { version = "0.53.0", features = ["tcp", "noise", "yamux", "rsa", "async-std"] } -multihash = { version = "0.17.0", default-features = false, features = ["blake3", "sha2"] } +multihash = { version = "0.16.0", default-features = false, features = ["blake3", "sha2"] } tracing-subscriber = { version = "0.3.5", features = ["env-filter", "tracing-log"] }