-
Notifications
You must be signed in to change notification settings - Fork 339
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
Upgrade nftnl
to fix cargo deny
error
#6748
Conversation
a5b70cb
to
fc583f5
Compare
bd99c97
to
7a97d84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 6 files at r1, 1 of 2 files at r2.
Reviewable status: 5 of 6 files reviewed, all discussions resolved
7a97d84
to
7a1c230
Compare
7a1c230
to
4b2b460
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 6 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
Fix `cargo deny` complaining about `proc-macro-error` being unmaintained by upgrading `nftnl` to a version which no longer depends on `err-derive`, which in turn depended on `proc-macro-error`. This commit also upgrades `bitflags` to `2.6.0` from `2.5.0` in `talpid-core`. Version `2.6.0` is pinned by `nftnl` for some reason, and `cargo` was unhappy with having both `2.5.0` and `2.6.0` in the same crate. Manually derive `Debug` where needed after upgrade to `bitflags 2.6.0`.
4b2b460
to
dfaa2d8
Compare
This PR resolves #6747.
Fix
cargo deny
complaining aboutproc-macro-error
being unmaintained by upgradingnftnl
to a version which no longer depends onerr-derive
, which in turn depended onproc-macro-error
.This PR also upgrades
bitflags
to2.6.0
from2.5.0
intalpid-core
. Version2.6.0
is pinned bynftnl
for some reason, andcargo
was unhappy with having both2.5.0
and2.6.0
in the same crate.With this change we also drop 5 direct dependencies, and even more indirect dependencies! 🎉
Fixes DES-1228
TODO
RUSTSEC-2024-0370
incargo deny
RUSTSEC-2024-0370
inosv-scanner
RUSTSEC-2024-0370
incargo audit
This change is