File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 11//! Catalyst documents signing crate
2+
3+ mod content;
4+ mod error;
5+ mod metadata;
6+ mod signature;
7+
28use std:: {
39 convert:: TryFrom ,
410 fmt:: { Display , Formatter } ,
@@ -8,13 +14,8 @@ use std::{
814use anyhow:: anyhow;
915use content:: Content ;
1016use coset:: CborSerializable ;
11-
12- mod content;
13- mod error;
14- mod metadata;
15- mod signature;
16-
1717pub use metadata:: { AdditionalFields , DocumentRef , Metadata , UuidV7 } ;
18+ pub use minicbor:: { decode, Decode , Decoder } ;
1819pub use signature:: KidUri ;
1920use signature:: Signatures ;
2021
@@ -88,8 +89,8 @@ impl CatalystSignedDocument {
8889 }
8990}
9091
91- impl minicbor :: Decode < ' _ , ( ) > for CatalystSignedDocument {
92- fn decode ( d : & mut minicbor :: Decoder < ' _ > , ( ) : & mut ( ) ) -> Result < Self , minicbor :: decode:: Error > {
92+ impl Decode < ' _ , ( ) > for CatalystSignedDocument {
93+ fn decode ( d : & mut Decoder < ' _ > , ( ) : & mut ( ) ) -> Result < Self , decode:: Error > {
9394 let start = d. position ( ) ;
9495 d. skip ( ) ?;
9596 let end = d. position ( ) ;
You can’t perform that action at this time.
0 commit comments