From 1e473716b72f55cc63df504ee9604f32b1a68155 Mon Sep 17 00:00:00 2001 From: Rune Soerensen Date: Tue, 24 Sep 2024 03:46:14 -0400 Subject: [PATCH] Allow unreachable pub for re-exports Also see https://github.com/Malax/inventory/pull/2#issuecomment-2109873726 --- libherokubuildpack/src/inventory.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libherokubuildpack/src/inventory.rs b/libherokubuildpack/src/inventory.rs index b6a88c68..95d0e933 100644 --- a/libherokubuildpack/src/inventory.rs +++ b/libherokubuildpack/src/inventory.rs @@ -8,10 +8,11 @@ mod semver; mod sha2; mod unit; -#[allow(unused_imports)] +#[allow(unused_imports, unreachable_pub)] #[cfg(feature = "semver")] pub use semver::*; -#[allow(unused_imports)] + +#[allow(unused_imports, unreachable_pub)] #[cfg(feature = "sha2")] pub use sha2::*;