Skip to content

Commit 4b181f3

Browse files
committed
fix(rust/hermes-ipfs): Update all dependencies and prepare to tag
1 parent 513b090 commit 4b181f3

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

rust/hermes-ipfs/Cargo.toml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "hermes-ipfs"
5-
version = "0.0.4"
5+
version = "0.0.5"
66
edition.workspace = true
77
license.workspace = true
88
authors.workspace = true
@@ -14,24 +14,17 @@ workspace = true
1414

1515
[dependencies]
1616
anyhow = "1.0.95"
17-
derive_more = {version = "1.0.0", features = ["from","into","display"] }
17+
derive_more = {version = "2.0.1", features = ["from","into","display"] }
1818
ipld-core = { version = "0.4.1", features = ["serde"]}
1919
# A fork of crates-io version with updated dependencies (`libp2p` and `ring` in particular).
20-
rust-ipfs = { version = "0.15.0", git = "https://github.com/dariusc93/rust-ipfs" }
20+
# rev-26b99cb as at July 30, 2025
21+
rust-ipfs = { version = "0.15.0", git = "https://github.com/dariusc93/rust-ipfs", rev = "26b99cb" }
2122
tokio = "1.46.0"
22-
# Its a transitive dependency of the "rust-ipfs" crate,
23-
# could be removed after bumped to the rustc compiler 1.87
24-
yamux = "=0.13.5"
2523

2624
[dev-dependencies]
2725
# Dependencies used by examples
2826
clap = { version = "4.5.23", features = ["derive"] }
29-
dirs = "5.0.1"
27+
dirs = "6.0.0"
3028
lipsum = "0.9.1"
31-
rand = "0.8.5"
3229
rustyline-async = "0.4.5"
3330
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
34-
35-
[package.metadata.cargo-machete]
36-
# remove that after fixing issues with latest crates
37-
ignored = ["yamux"]

rust/hermes-ipfs/blueprint.cue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version: "1.0.0"
2+
project: name: "hermes-ipfs"

rust/hermes-ipfs/examples/hermes-ipfs-cli.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
33
use clap::{Parser, Subcommand};
44
use hermes_ipfs::{HermesIpfs, IpfsBuilder};
5-
use lipsum::lipsum_with_rng;
6-
use rand::thread_rng;
5+
use lipsum::lipsum;
76
use rust_ipfs::IpfsPath;
87

98
/// CLI for a virtual filesystem.
@@ -62,7 +61,7 @@ async fn main() -> anyhow::Result<()> {
6261
},
6362
Commands::AddFile => {
6463
println!("Adding file");
65-
let contents = lipsum_with_rng(thread_rng(), 42);
64+
let contents = lipsum(42);
6665
let ipfs_path = hermes_node
6766
.add_ipfs_file(contents.into_bytes().into())
6867
.await?;

0 commit comments

Comments
 (0)