Skip to content

Fix u64 deserialization #705

@litchipi

Description

@litchipi

Past issue: toml-rs/toml-rs#256

u64 cannot be deserialized as it's backed by a i64 format

This causes this to fail:

let data = format!("id = {}", u64::MAX);
let val : toml::Value = toml::from_str(&data).unwrap();
println!("{:?}", val);

And any number > i64::MAX will also fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parseArea: Parsing TOMLA-serdeArea: Serde integrationC-bugCategory: Things not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions