Skip to content

Commit 9344dc9

Browse files
committed
Remove libipld dependency
The `libipld` crate is deprecated. Usually the transition from `libipld` is into using `ipld-core` and `serde_ipld_dagcbor`. Though this crate is so low-level, that it should use `cbor4ii` directly. `cbor4ii` is the CBOR library that `serde_ipld_dagcbor` is using.
1 parent 53b68cd commit 9344dc9

2 files changed

Lines changed: 207 additions & 158 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ crate-type = ["rlib", "cdylib"]
1616
pyo3 = { version = "0.27.1", features = ["generate-import-lib", "anyhow"] }
1717
python3-dll-a = "0.2.14"
1818
anyhow = "1.0.100"
19-
libipld = { version = "0.16.0", features = ["dag-cbor"] }
20-
multibase = "0.9.2"
21-
byteorder = "1.5.0"
22-
multihash = "0.18.1"
19+
cid = "0.11.1"
20+
cbor4ii = { version = "1.2.0", features = ["use_alloc"] }
2321

2422
[workspace]
2523
members = [ "profiling" ]

0 commit comments

Comments
 (0)