diff --git a/Cargo.lock b/Cargo.lock index 4cd6716fcb..b439accf27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -130,9 +130,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "cfg_aliases" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" [[package]] name = "ciborium" diff --git a/Cargo.toml b/Cargo.toml index 096af946fe..28aa27ae99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ license = "MIT OR Apache-2.0" rust-version = "1.90.0" [workspace.dependencies] -cfg_aliases = { version = "0.2", default-features = false } +cfg_aliases = { version = "0.2.2", default-features = false } enum-map = { version = "2.7", default-features = false } enumset = { version = "1.1", default-features = false } hex = { version = "0.4", default-features = false } diff --git a/mtu/Cargo.toml b/mtu/Cargo.toml index d9a520c5f8..745fdfffa1 100644 --- a/mtu/Cargo.toml +++ b/mtu/Cargo.toml @@ -31,7 +31,7 @@ windows = { workspace = true, features = [ ] } [build-dependencies] -cfg_aliases = { version = "0.2", default-features = false } +cfg_aliases = { workspace = true } [package.metadata.cargo-machete] ignored = ["cfg_aliases"] diff --git a/mtu/build.rs b/mtu/build.rs index c6617db66d..82aec5045f 100644 --- a/mtu/build.rs +++ b/mtu/build.rs @@ -4,11 +4,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#[allow( - clippy::allow_attributes, - semicolon_in_expressions_from_macros, - reason = "TODO: Remove once https://github.com/katharostech/cfg_aliases/pull/15 releases." -)] fn main() { cfg_aliases::cfg_aliases! { bsd: { diff --git a/neqo-bin/build.rs b/neqo-bin/build.rs index ffd785fcf7..c0ad7df7b3 100644 --- a/neqo-bin/build.rs +++ b/neqo-bin/build.rs @@ -1,10 +1,5 @@ use cfg_aliases::cfg_aliases; -#[allow( - clippy::allow_attributes, - semicolon_in_expressions_from_macros, - reason = "TODO: Remove once https://github.com/katharostech/cfg_aliases/pull/15 releases." -)] fn main() { // Setup cfg aliases cfg_aliases! { diff --git a/neqo-udp/build.rs b/neqo-udp/build.rs index ffd785fcf7..c0ad7df7b3 100644 --- a/neqo-udp/build.rs +++ b/neqo-udp/build.rs @@ -1,10 +1,5 @@ use cfg_aliases::cfg_aliases; -#[allow( - clippy::allow_attributes, - semicolon_in_expressions_from_macros, - reason = "TODO: Remove once https://github.com/katharostech/cfg_aliases/pull/15 releases." -)] fn main() { // Setup cfg aliases cfg_aliases! {