Skip to content

Commit

Permalink
keys: Fix feature compilation for the serde-derive feature
Browse files Browse the repository at this point in the history
Fix feature compilation when the `serde-derive` feature is not
enabled for the `keys` subcrate.
  • Loading branch information
jsdanielh committed Jul 18, 2024
1 parent 5d642ef commit 5277bfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions keys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use nimiq_serde::SerializedMaxSize;
#[cfg(feature = "serde-derive")]
use nimiq_serde::{Deserialize, Serialize};
use nimiq_serde::{Deserialize, Serialize, SerializedMaxSize};
pub use nimiq_utils::key_rng::{SecureGenerate, SecureRng};

pub use self::{
Expand Down

0 comments on commit 5277bfa

Please sign in to comment.