Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable serde-arbitrary-precision feature of rust-decimal #49

Merged
merged 2 commits into from
Sep 7, 2023

Commits on Sep 3, 2023

  1. Disable serde-arbitrary-precision feature of rust-decimal

    ...which enabled the arbitrary-precision feature of serde-json, which broke
    yagna. This is because gsb-api relies on json integers being serialized
    as flexbuffer numbers, while arbitrary-precision makes them serialize as
    serde-json-specific structures.
    
    This cannot be sensibly worked around, because cargo assumes crate
    features are strictly additive and one cannot depend on the same library
    twice with the only difference being the set of enabled features.
    
    rust-decimal Decimals were only serialized in informational messages
    which do not affect the correctness of the driver, so this change does
    not affect any financial computations.
    kamirr committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    c408926 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    ba68081 View commit details
    Browse the repository at this point in the history