v2.0.0-rc.12 - Fix bugs with enums
Pre-release
Pre-release
oscartbeaumont
released this
09 May 02:42
·
54 commits
to main
since this release
This release fixes a bug where the following type would cause Specta to crash:
#[derive(Type)]
#[serde(tag = "type", content = "data")]
pub enum SkippedFieldWithinVariant {
A(#[serde(skip)] String),
B(String),
}