diff --git a/serde/src/lib.rs b/serde/src/lib.rs index da34b2890..489c07754 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -340,7 +340,7 @@ mod std_error; extern crate serde_derive; #[cfg(feature = "serde_derive")] #[doc(hidden)] -pub use serde_derive::*; +pub use serde_derive::{Deserialize, Serialize}; #[cfg(all(not(no_serde_derive), any(feature = "std", feature = "alloc")))] mod actually_private {