diff --git a/Cargo.lock b/Cargo.lock index 31f4e2a..e5ae0c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -703,13 +703,13 @@ dependencies = [ [[package]] name = "ceramic-core" -version = "0.9.0" -source = "git+https://github.com/3box/rust-ceramic?branch=main#dba11dadf30ac9cf6bb98223c92c9f7014f9eb8b" +version = "0.17.0" +source = "git+https://github.com/ceramicnetwork/rust-ceramic?branch=feat/event-builder#6a67832c1588ddb00d452c8c90ac7e4197488373" dependencies = [ "anyhow", "async-trait", "base64 0.21.7", - "cid 0.10.1", + "cid 0.11.1", "did-method-key", "did-pkh", "hex", @@ -717,14 +717,16 @@ dependencies = [ "libp2p-identity", "minicbor", "multibase 0.9.1", + "multihash-codetable", + "multihash-derive 0.9.0", "once_cell", "regex", "serde", "serde_bytes", - "serde_ipld_dagcbor 0.3.0", + "serde_ipld_dagcbor", "serde_json", "ssi", - "unsigned-varint 0.7.2", + "unsigned-varint 0.8.0", ] [[package]] @@ -749,7 +751,7 @@ dependencies = [ "regex", "serde", "serde_bytes", - "serde_ipld_dagcbor 0.6.1", + "serde_ipld_dagcbor", "serde_json", "ssi", "unsigned-varint 0.8.0", @@ -757,29 +759,34 @@ dependencies = [ [[package]] name = "ceramic-event" -version = "0.9.0" -source = "git+https://github.com/3box/rust-ceramic?branch=main#dba11dadf30ac9cf6bb98223c92c9f7014f9eb8b" +version = "0.17.0" +source = "git+https://github.com/ceramicnetwork/rust-ceramic?branch=feat/event-builder#6a67832c1588ddb00d452c8c90ac7e4197488373" dependencies = [ "anyhow", - "ceramic-core 0.9.0", - "multihash 0.18.1", + "async-trait", + "ceramic-core 0.17.0 (git+https://github.com/ceramicnetwork/rust-ceramic?branch=feat/event-builder)", + "cid 0.11.1", + "ipld-core", + "multihash-codetable", "once_cell", "rand", "serde", + "serde_json", ] [[package]] name = "ceramic-http-client" version = "0.1.0" -source = "git+https://github.com/3box/ceramic-http-client-rs.git?branch=main#be4b848c2a178e860eb17941ddc430b5e91c4f9f" +source = "git+https://github.com/3box/ceramic-http-client-rs.git?branch=chore/lib-update#d3e2ebf1d86be94e3bddd42193365069864e95f8" dependencies = [ "anyhow", "ceramic-event", "json-patch", + "once_cell", + "rand", "schemars", "serde", "serde_json", - "ssi", ] [[package]] @@ -817,20 +824,6 @@ dependencies = [ "unsigned-varint 0.7.2", ] -[[package]] -name = "cid" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd94671561e36e4e7de75f753f577edafb0e7c05d6e4547229fdf7938fbcd2c3" -dependencies = [ - "core2", - "multibase 0.9.1", - "multihash 0.18.1", - "serde", - "serde_bytes", - "unsigned-varint 0.7.2", -] - [[package]] name = "cid" version = "0.11.1" @@ -2491,7 +2484,7 @@ dependencies = [ "futures", "integer-encoding", "serde", - "serde_ipld_dagcbor 0.6.1", + "serde_ipld_dagcbor", "thiserror", "tokio", ] @@ -2837,7 +2830,7 @@ dependencies = [ "anyhow", "async-trait", "base64 0.21.7", - "ceramic-core 0.17.0", + "ceramic-core 0.17.0 (git+https://github.com/ceramicnetwork/rust-ceramic.git?branch=main)", "ceramic-http-client", "chrono", "clap", @@ -2858,7 +2851,7 @@ dependencies = [ "reqwest", "schemars", "serde", - "serde_ipld_dagcbor 0.6.1", + "serde_ipld_dagcbor", "serde_ipld_dagjson", "serde_json", "test-log", @@ -3425,25 +3418,6 @@ dependencies = [ "unsigned-varint 0.7.2", ] -[[package]] -name = "multihash" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" -dependencies = [ - "blake2b_simd 1.0.2", - "blake2s_simd", - "blake3", - "core2", - "digest 0.10.7", - "multihash-derive 0.8.0", - "serde", - "serde-big-array", - "sha2 0.10.8", - "sha3", - "unsigned-varint 0.7.2", -] - [[package]] name = "multihash" version = "0.19.1" @@ -4884,18 +4858,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "serde_ipld_dagcbor" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2433e94ffb5977e67afbd75733abd6ada1c4f497125894a8c89b3fdc5fd6a058" -dependencies = [ - "cbor4ii", - "cid 0.8.6", - "scopeguard", - "serde", -] - [[package]] name = "serde_ipld_dagcbor" version = "0.6.1" diff --git a/runner/Cargo.toml b/runner/Cargo.toml index b31fe9d..ad13090 100644 --- a/runner/Cargo.toml +++ b/runner/Cargo.toml @@ -10,8 +10,8 @@ anyhow.workspace = true async-trait.workspace = true ceramic-core.workspace = true iroh-car.workspace = true -ceramic-http-client = { git = "https://github.com/3box/ceramic-http-client-rs.git", branch = "main", default-features = false } -#ceramic-http-client = { path = "../../ceramic-http-client-rs", default-features = false } +ceramic-http-client = { git = "https://github.com/3box/ceramic-http-client-rs.git", branch = "chore/lib-update", default-features = false } +# ceramic-http-client = { path = "../../ceramic-http-client-rs", default-features = false } clap.workspace = true did-method-key = "0.2" goose = { version = "0.16", features = ["gaggle"] } diff --git a/runner/src/scenario/ceramic/anchor.rs b/runner/src/scenario/ceramic/anchor.rs index 6e3de0b..d43a31a 100644 --- a/runner/src/scenario/ceramic/anchor.rs +++ b/runner/src/scenario/ceramic/anchor.rs @@ -35,7 +35,8 @@ async fn auth_header(url: String, controller: String, digest: Cid) -> Result