Skip to content

Commit

Permalink
Make setup.rs use statement conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
h7x4 committed Oct 29, 2023
1 parent 8872fea commit d890684
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/setup.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use super::*;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

/// Parse the SETUP packet of control transfers
#[derive(Clone, Copy, Debug, Default)]
Expand Down

0 comments on commit d890684

Please sign in to comment.