Skip to content

Commit fb97713

Browse files
authored
Release v1.2.3 (#32)
1 parent a7af30f commit fb97713

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libipld"
3-
version = "1.2.2"
3+
version = "1.2.3"
44
edition = "2021"
55
license = "MIT"
66
description = "Python binding to the Rust IPLD library"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import libipld
1111
print(libipld.decode_cid('bafyreig7jbijxpn4lfhvnvyuwf5u5jyhd7begxwyiqe7ingwxycjdqjjoa'))
1212
# Output: {'hash': {'size': 32, 'code': 18, 'digest': b'\xdfHP\x9b\xbd\xbcYOV\xd7\x14\xb1{N\xa7\x07\x1f\xc2C^\xd8D\t\xf44\xd6\xbe\x04\x91\xc1)p'}, 'version': 1, 'codec': 113}
1313

14-
# DAG CBOR
14+
# DAG-CBOR
1515
print(libipld.decode_dag_cbor(b'\xa2aa\x0cabfhello!'))
1616
# Output: {'a': 12, 'b': 'hello!'}
1717
print(libipld.encode_dag_cbor({'a': 12, 'b': 'hello!'}))
@@ -26,8 +26,8 @@ print(libipld.encode_multibase('u', b'yes mani !'))
2626

2727
### Features
2828

29-
- Decode DAG CBOR (`decode_dag_cbor(bytes) -> dict`, `decode_dag_cbor_multi(bytes) -> list[dict]`)
30-
- Encode DAG CBOR (`encode_dag_cbor(obj) -> bytes`)
29+
- Decode DAG-CBOR (`decode_dag_cbor(bytes) -> dict`, `decode_dag_cbor_multi(bytes) -> list[dict]`)
30+
- Encode DAG-CBOR (`encode_dag_cbor(obj) -> bytes`)
3131
- Decode CID (`decode_cid(str) -> dict`)
3232
- Decode CAR (`decode_car(bytes) -> tuple[dict, dict[str, dict]]`). Returns a header and blocks mapped by CID.
3333
- Decode Multibase (`decode_multibase(str) -> tuple[str, bytes]`). Returns base and data.

0 commit comments

Comments
 (0)