Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ crate-type = ["rlib", "cdylib"]
pyo3 = { version = "0.27.1", features = ["generate-import-lib", "anyhow"] }
python3-dll-a = "0.2.14"
anyhow = "1.0.100"
libipld = { version = "0.16.0", features = ["dag-cbor"] }
multibase = "0.9.2"
byteorder = "1.5.0"
multihash = "0.18.1"
cid = "0.11.1"
cbor4ii = { version = "1.2.0", features = ["use_alloc"] }

[workspace]
members = [ "profiling" ]
Expand All @@ -30,3 +28,6 @@ debug = false
incremental = false
lto = true
opt-level = 3

[patch.crates-io]
cbor4ii = { git = "https://github.com/quininer/cbor4ii" }
2 changes: 1 addition & 1 deletion pytests/test_dag_cbor.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_dag_cbor_decode_invalid_utf8() -> None:
libipld.decode_dag_cbor(bytes.fromhex('62c328'))


assert 'Invalid UTF-8 string' in str(exc_info.value)
assert 'utf-8' in str(exc_info.value)


def test_dab_cbor_decode_map_int_key() -> None:
Expand Down
Loading