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
Is there any way to get the spans of the ignored keys?
The only way I can think of doing this right now would be to copy what this crate does, but instead of creating a Path, try to deserialize a toml::Spanned<toml::Value> at the ignored key.
The text was updated successfully, but these errors were encountered:
I'm trying to get toml::Spanned and serde_ignored to work nicely together at the moment. I keep getting it fail saying it expects "a borrowed string" when deserialising cargo tomls: dependencies: Option<BTreeMap<String, Spanned<TomlDependency>>>,.
The SpannedVisitor delegate chain seems to get broken in serde here: deserializer.deserialize_str(StrVisitor). It's a bit hard to see what's going on but I think CaptureKey is maybe where things are going pair shaped.
Is there any way to get the spans of the ignored keys?
The only way I can think of doing this right now would be to copy what this crate does, but instead of creating a
Path
, try to deserialize atoml::Spanned<toml::Value>
at the ignored key.The text was updated successfully, but these errors were encountered: