Skip to content

Commit

Permalink
Merge branch 'proc-macro-error-unmaintained'
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Sep 20, 2024
2 parents bd8f0b8 + dfaa2d8 commit f20eda4
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 93 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/cargo-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ jobs:
# Ignored audit issues. This list should be kept short, and effort should be
# put into removing items from the list.
# RUSTSEC-2023-0079 - KyberSlash in `pqc_kyber`.
# RUSTSEC-2024-0370 - `proc-macro-error` is unmaintained.
# `nftnl 0.6.2` uses `proc-macro-error`.
ignore: RUSTSEC-2023-0079,RUSTSEC-2024-0370
ignore: RUSTSEC-2023-0079

- uses: actions-rust-lang/audit@v1.1.11
name: Audit testrunner Rust Dependencies
Expand All @@ -41,6 +39,4 @@ jobs:
# Ignored audit issues. This list should be kept short, and effort should be
# put into removing items from the list.
# RUSTSEC-2023-0079 - KyberSlash in `pqc_kyber`.
# RUSTSEC-2024-0370 - `proc-macro-error` is unmaintained.
# `nftnl 0.6.2` uses `proc-macro-error`.
ignore: RUSTSEC-2023-0079,RUSTSEC-2024-0370
ignore: RUSTSEC-2023-0079
91 changes: 17 additions & 74 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ ignore = [
# put into removing items from the list.
# RUSTSEC-2023-0079 - KyberSlash in `pqc_kyber`.
"RUSTSEC-2023-0079",
# RUSTSEC-2024-0370 - `proc-macro-error` is unmaintained.
# `nftnl 0.6.2` uses `proc-macro-error`.
"RUSTSEC-2024-0370",
]


Expand Down
8 changes: 0 additions & 8 deletions osv-scanner.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,3 @@ KyberSlash is not exploitable in our usage of it:
https://mullvad.net/en/blog/mullvads-usage-of-kyber-is-not-affected-by-kyberslash
And no patched version is available.
"""

[[IgnoredVulns]]
id = "RUSTSEC-2024-0370"
ignoreUntil = 2024-12-06
reason = """
proc-macro-error is unmaintained, but it does not necessarily contain any vulns.
Will be fixed by bumping `nftnl`.
"""
4 changes: 2 additions & 2 deletions talpid-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jnix = { version = "0.5.1", features = ["derive"] }
nix = "0.23"
inotify = "0.10"
resolv-conf = "0.7"
nftnl = { version = "0.6.2", features = ["nftnl-1-1-0"] }
nftnl = { version = "0.7.0", features = ["nftnl-1-1-0"] }
mnl = { version = "0.2.2", features = ["mnl-1-0-4"] }
which = { version = "4.0", default-features = false }
talpid-dbus = { path = "../talpid-dbus" }
Expand All @@ -62,7 +62,7 @@ serde_json = { workspace = true }
talpid-net = { path = "../talpid-net" }

[target.'cfg(windows)'.dependencies]
bitflags = "1.2"
bitflags = "2.6"
widestring = "1.0"
winreg = { version = "0.51", features = ["transactions"] }
memoffset = "0.6"
Expand Down
1 change: 1 addition & 0 deletions talpid-core/src/split_tunnel/windows/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ pub enum EventBody {
}

bitflags! {
#[derive(Debug)]
pub struct SplittingChangeReason: u32 {
const BY_INHERITANCE = 1;
const BY_CONFIG = 2;
Expand Down

0 comments on commit f20eda4

Please sign in to comment.