You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of requiring #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] on every type, there should be a central way to disable all of the derive(Serialize, Deserialize) attributes in a crate and eliminate the slow-to-compile dependency. This could take the form of a noop feature for serde_macros and/or serde_codegen, or a separate crate serde_noop.
The text was updated successfully, but these errors were encountered:
See the discussion at #288 (comment).
Instead of requiring
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
on every type, there should be a central way to disable all of thederive(Serialize, Deserialize)
attributes in a crate and eliminate the slow-to-compile dependency. This could take the form of a noop feature for serde_macros and/or serde_codegen, or a separate crate serde_noop.The text was updated successfully, but these errors were encountered: