Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Support deserializing tagged literal scalar into primitive #328

Merged
merged 3 commits into from Sep 14, 2022

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Sep 14, 2022

Fixes #327.

Currently fails with:

    ---- test_python_safe_dump stdout ----
    thread 'test_python_safe_dump' panicked at 'called `Result::unwrap()` on an `Err` value:
    Error("foo: invalid type: integer `7200`, expected u32", line: 1, column: 8)', tests/test_de.rs:17:54
@dtolnay dtolnay merged commit 129a24e into master Sep 14, 2022
@dtolnay dtolnay deleted the taggedliteral branch September 14, 2022 08:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't map !!int tagged type to Rust type with serde_yaml 0.9
1 participant