Skip to content

Commit 7b4ed4e

Browse files
committed
chore: update dependencies
switch to sync ceramic-car instead of iroh-car
1 parent 24ed857 commit 7b4ed4e

5 files changed

Lines changed: 68 additions & 61 deletions

File tree

Cargo.lock

Lines changed: 64 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async-trait = "0.1"
88
clap = { version = "4", features = ["derive", "env"] }
99
console-subscriber = "0.2"
1010
ceramic-core = { git = "https://github.com/ceramicnetwork/rust-ceramic.git", branch = "main" }
11-
iroh-car = { git = "https://github.com/ceramicnetwork/rust-ceramic.git", branch = "main" }
11+
ceramic-car = { git = "https://github.com/ceramicnetwork/rust-ceramic.git", branch = "main" }
1212
env_logger = "0.10.0"
1313
expect-patch = { path = "./expect-patch/" }
1414
hex = "0.4.3"

runner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2021"
99
anyhow.workspace = true
1010
async-trait.workspace = true
1111
ceramic-core.workspace = true
12-
iroh-car.workspace = true
12+
ceramic-car.workspace = true
1313
ceramic-http-client = { git = "https://github.com/3box/ceramic-http-client-rs.git", branch = "main", default-features = false }
1414
clap.workspace = true
1515
did-method-key = "0.2"

runner/src/scenario/ceramic/anchor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use anyhow::Result;
2+
use ceramic_car::{CarHeader, CarWriter};
23
use ceramic_core::{Cid, DagCborEncoded};
34
use ceramic_http_client::{
45
ceramic_event::{unvalidated, DidDocument, StreamId},
@@ -7,7 +8,6 @@ use ceramic_http_client::{
78
use chrono::Utc;
89
use goose::prelude::*;
910
use ipld_core::ipld;
10-
use iroh_car::{CarHeader, CarWriter};
1111
use multihash_codetable::{Code, MultihashDigest};
1212

1313
use redis::{aio::MultiplexedConnection, AsyncCommands};

runner/src/scenario/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub(crate) async fn random_init_event_car(
9393
.with_unique(unique.to_vec())
9494
.with_data(ipld_core::ipld!({"a": 1, "b": 2}))
9595
.build();
96-
let car = res.encode_car().await?;
96+
let car = res.encode_car()?;
9797
Ok(MultiBase32String::from(car))
9898
}
9999

0 commit comments

Comments
 (0)