Skip to content

Commit bbc0a5d

Browse files
feat(rust/signed-doc): CatalystSignedDocument has CIDv1 (#621)
* feat(rust/signed-doc): CatalystSignedDocument has CIDv1 * feat(rust/signed-doc): Cid newtype * break(rust/signed-doc): DocLocator(Cid) must be valid * Breaking change that removes compatibility with old versions * fix(rust/signed-doc): fix unit tests to support DocLocator * removes support for old version * fix(rust/signed-doc): fix integration tests * chore(rust/signed-doc): fmt fix * chore(rust/signed-doc): fix spelling * chore(rust/signed-doc): fix doc comment * chore(rust/signed-doc): Add `doc_ref` method for `CatalystSignedDoc`. (#640) * update API * wip * wip * wip * fix test * wip * wip * fix fmt * fix(rust/signed-doc): remove stale example --------- Co-authored-by: Joaquín Rosales <[email protected]> --------- Co-authored-by: Alex Pozhylenkov <[email protected]>
1 parent 4bf38d3 commit bbc0a5d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1489
-1414
lines changed

.config/dictionaries/project.dic

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ moka
205205
MPMC
206206
msvc
207207
Multiaddr
208+
multibase
208209
multicodec
209210
multiera
210211
multihash
@@ -346,6 +347,7 @@ utimensat
346347
UTXO
347348
uuidv4
348349
uuidv7
350+
varint
349351
venv
350352
vitss
351353
Vkey

rust/signed_doc/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ tracing = "0.1.40"
3535
thiserror = "2.0.11"
3636
chrono = "0.4.42"
3737

38+
# CID v1 support
39+
cid = "0.11.1"
40+
multihash = { version = "0.19.3", features = ["serde-codec"] }
41+
sha2 = "0.10"
42+
multibase = "0.9.2"
43+
3844
[dev-dependencies]
3945
base64-url = "3.0.0"
4046
rand = "0.8.5"

0 commit comments

Comments
 (0)