Skip to content

Conversation

@qinheping
Copy link
Contributor

Derivative has not been maintained in 3 years and recently been marked as unmaintained by RUSTSEC (https://rustsec.org/advisories/RUSTSEC-2024-0388).

This PR replaces derivative with derive-where, a not dead alternative.

github-merge-queue bot pushed a commit to model-checking/kani that referenced this pull request Nov 11, 2024
`derivative` is marked as unmaintained by RUSTSEC but still used in
Charon. We exclude it from the deny check until `derivative` is replaced
in Charon (AeneasVerif/charon#459).

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
@Nadrieril
Copy link
Member

Thank you, this is a welcome change! Could you commit the updated Cargo.lock as well?

@qinheping
Copy link
Contributor Author

Cargo.lock added in the latest commit.

@Nadrieril
Copy link
Member

I'm getting "note: an implementation of PartialEq might be missing for ast::types::TraitClause" errors, something isn't working right.

@Nadrieril
Copy link
Member

I see, there was a typo. I have fixed this but please run tests before submitting a PR next time.

@Nadrieril Nadrieril merged commit 454078e into AeneasVerif:main Nov 13, 2024
@Nadrieril
Copy link
Member

Ended up switching to a manual impl in the end. Should be good, let me know if there are other dependencies that are problematic for kani!

@qinheping qinheping deleted the derive-where branch November 13, 2024 16:04
github-merge-queue bot pushed a commit to model-checking/kani that referenced this pull request Nov 14, 2024
Reverts #3708

The issue of `derivative` has been fixed in Charon:
AeneasVerif/charon#459.

Co-authored-by: Zyad Hassan <[email protected]>
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