Skip to content

Commit

Permalink
fix: wrong serde-codec feature gate (#156)
Browse files Browse the repository at this point in the history
The `serde-codec` feature was renamed to `serde`, which is now the preferred name.
When `serde-codec` is enabled, it also automatically enables the `serde` feature.
Hence feature gate the Serde implementation with the `serde` feature.
  • Loading branch information
vmx committed Jan 23, 2024
1 parent 618ee97 commit 9699963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mod version;

#[cfg(any(test, feature = "arb"))]
mod arb;
#[cfg(feature = "serde-codec")]
#[cfg(feature = "serde")]
pub mod serde;

pub use self::cid::Cid as CidGeneric;
Expand Down

0 comments on commit 9699963

Please sign in to comment.