Skip to content

Commit 4faad6e

Browse files
authored
Don’t compile derive_util unless needed (#281)
1 parent 2492680 commit 4faad6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ mod macros;
142142

143143
#[cfg(feature = "byteorder")]
144144
pub mod byteorder;
145+
#[cfg(any(feature = "derive", test))]
145146
#[doc(hidden)]
146147
pub mod derive_util;
147148

0 commit comments

Comments
 (0)