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

Remove workaround for serde_json's arbitrary_precision feature #1669

Merged
merged 1 commit into from Jan 18, 2022

Conversation

nickelc
Copy link
Contributor

@nickelc nickelc commented Jan 17, 2022

In the past serde_json would call Visitor::visit_map for all numbers
when its arbitrary_precision feature is activated.
Since serde_json v1.0.75 that method is only called for 128bit numbers.

Original issue: #527
Fix in serde_json: serde-rs/json#848

In the past `serde_json` would call `Visitor::visit_map` for all numbers
when its `arbitrary_precision` feature is activated.
Since `serde_json` v1.0.75 that method is only called for 128bit numbers.
@arqunis arqunis added enhancement An improvement to Serenity. model Related to the `model` module. labels Jan 18, 2022
@arqunis arqunis added the dependencies Related to Serenity dependencies. label Jan 18, 2022
@arqunis arqunis merged commit 11f8119 into serenity-rs:next Jan 18, 2022
@nickelc nickelc deleted the serde-json-arbitrary_precision branch January 18, 2022 16:54
arqunis pushed a commit to arqunis/serenity that referenced this pull request Jan 23, 2022
…enity-rs#1669)

In the past `serde_json` would call `Visitor::visit_map` for all numbers
when its `arbitrary_precision` feature is activated.
Since `serde_json` v1.0.75 that method is only called for 128bit numbers.
arqunis pushed a commit to arqunis/serenity that referenced this pull request Mar 1, 2022
…enity-rs#1669)

In the past `serde_json` would call `Visitor::visit_map` for all numbers
when its `arbitrary_precision` feature is activated.
Since `serde_json` v1.0.75 that method is only called for 128bit numbers.
arqunis pushed a commit to arqunis/serenity that referenced this pull request Mar 15, 2022
…enity-rs#1669)

In the past `serde_json` would call `Visitor::visit_map` for all numbers
when its `arbitrary_precision` feature is activated.
Since `serde_json` v1.0.75 that method is only called for 128bit numbers.
arqunis pushed a commit to arqunis/serenity that referenced this pull request Apr 2, 2022
…enity-rs#1669)

In the past `serde_json` would call `Visitor::visit_map` for all numbers
when its `arbitrary_precision` feature is activated.
Since `serde_json` v1.0.75 that method is only called for 128bit numbers.
arqunis pushed a commit to arqunis/serenity that referenced this pull request Apr 18, 2022
…enity-rs#1669)

In the past `serde_json` would call `Visitor::visit_map` for all numbers
when its `arbitrary_precision` feature is activated.
Since `serde_json` v1.0.75 that method is only called for 128bit numbers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Related to Serenity dependencies. enhancement An improvement to Serenity. model Related to the `model` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants