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

WIP: Fix 1.75 build failure / add CI #34

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Conversation

luca-della-vedova
Copy link
Member

@luca-della-vedova luca-della-vedova commented Nov 27, 2024

take_if is only stable in Rust 1.80 so removed it inspired on its implementation in the standard library.

I don't think that is really covered by tests since I had a first implementation that was wrong and it was not caught by cargo test so big ⚠️ there.
I also added a few steps to the Linux CI to install and try Rust 1.75, happy to put it in a different workflow if that is a better option

Signed-off-by: Luca Della Vedova <[email protected]>
@luca-della-vedova luca-della-vedova marked this pull request as ready for review November 27, 2024 09:26
Signed-off-by: Michael X. Grey <[email protected]>
@mxgrey
Copy link
Contributor

mxgrey commented Nov 27, 2024

We could definitely do better in terms of how comprehensive the test coverage is. There are so many different possible combinations of things that people can do with this library that there are nearly uncountable nooks and crannies to consider.

But I've added in a unit test for the array split key limit, so at least that one is covered now.

@mxgrey mxgrey merged commit d074da8 into main Nov 27, 2024
5 checks passed
@mxgrey mxgrey deleted the luca/1.75_compatibility branch November 27, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants