Skip to content

Commit

Permalink
Derive common traits for DagPbCodec
Browse files Browse the repository at this point in the history
  • Loading branch information
expede committed Apr 25, 2024
1 parent f61fb0c commit 90ab3bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub fn links(bytes: &[u8], links: &mut impl Extend<Cid>) -> Result<(), Error> {
}

/// DAG-PB implementation of ipld-core's `Codec` trait.
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub struct DagPbCodec;

impl Codec<Ipld> for DagPbCodec {
Expand Down

0 comments on commit 90ab3bd

Please sign in to comment.