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
If we could support deserializing either form, that sounds nice. However, I think it would be a breaking change for untagged enums, where someone expects it to fall through from a Ratio variant to a String variant.
Another option is to provide helpers for #[serde(with = "module")], like the ones we added in either.
I think we should treat this as a breaking change either way -- this is serialization format, so the other end might not even use Rust for deserialization.
Serde has this nifty API: https://docs.rs/serde/1.0.118/serde/trait.Deserializer.html#method.is_human_readable
We should use this so that toml looks like
rather than as
The text was updated successfully, but these errors were encountered: