Skip to content

Commit

Permalink
kad: Remove unused serde cfg (#262)
Browse files Browse the repository at this point in the history
Remove unused serde feature flag.
Litep2p does not expose the `serde` feature flag.
This is most likely copied from libp2p when porting kademlia.

Signed-off-by: Alexandru Vasile <[email protected]>
  • Loading branch information
lexnv authored Oct 3, 2024
1 parent b967de3 commit 12b2d95
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/protocol/libp2p/kademlia/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ use multihash::Multihash;
use std::{borrow::Borrow, time::Instant};

/// The (opaque) key of a record.
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct Key(Bytes);

Expand Down

0 comments on commit 12b2d95

Please sign in to comment.