Skip to content

Conversation

@osiewicz
Copy link
Contributor

@osiewicz osiewicz commented Sep 3, 2023

Since serde-json's MSRV is 1.56 (due to using a 2021 edition), most of the hidden features enabled in build.rs shouldn't ever get enabled during the build. They mostly indicated whether some of the BTreeMap methods were available.

The last one for limb_width can be implemented with a #[cfg] or two. it is a separate commit in case this change is not welcome - I see how it complicates code slightly.

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! The retain and get_key_value and remove_entry changes look good.

I would prefer not to take the LimbConfig change. I think that code will be all right as is.

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 2c22077 into serde-rs:master Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants