diff --git a/deny.toml b/deny.toml index 1e64fb8f..309d1536 100644 --- a/deny.toml +++ b/deny.toml @@ -65,4 +65,11 @@ ignore = [ # https://github.com/trishume/syntect/issues/537 is resolved (replace # yaml-rust with yaml-rust2): { id = "RUSTSEC-2024-0320", reason = "Only an informative advisory that the crate is unmaintained and the maintainer unreachable" }, + + # Ignore an "INFO Unmaintained" advisory for the instant crate + # that the "indicatif" crate uses. This can be removed once + # https://github.com/console-rs/indicatif/issues/665 is resolved + # (The dependency instant is no longer maintained - + # consider switching to web-time instead): + { id = "RUSTSEC-2024-0384", reason = "Only an informative advisory that the crate is unmaintained and the author recommends using the maintained web-time crate instead." }, ] diff --git a/src/repository/repository.rs b/src/repository/repository.rs index 1f549504..f6db4d52 100644 --- a/src/repository/repository.rs +++ b/src/repository/repository.rs @@ -277,7 +277,7 @@ impl Repository { pname: &'a Option, pvers: &'a Option, matching_regexp: &'a Option, - ) -> Result + 'a> { + ) -> Result + 'a> { let mut r = self.inner.values() .filter(move |p| { match (pname, pvers, matching_regexp) {