You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! I use cargo-deny and noticed I was getting an error for one of tantivys transitive dependencies.
measure_time depends on instant which has been marked as unmaintained. There is no security vuln associated or anything requiring immediate action as best as I could tell.
There is only one place in tantivy I could see that uses measure_time, src/indexer/merger.rs.
It is importing the debug_time macro and using it to instrument a few methods.
debug_time!("write-fast-fields");
Given the small usage here, could this replaced with a log::debug! and remove the dependency to measure_time? If so, I'm happy to open a PR doing that. 😀
Describe the bug
Hey! I use cargo-deny and noticed I was getting an error for one of tantivys transitive dependencies.
measure_time depends on instant which has been marked as unmaintained. There is no security vuln associated or anything requiring immediate action as best as I could tell.
There is only one place in tantivy I could see that uses
measure_time
, src/indexer/merger.rs.It is importing the
debug_time
macro and using it to instrument a few methods.Given the small usage here, could this replaced with a
log::debug!
and remove the dependency tomeasure_time
? If so, I'm happy to open a PR doing that. 😀Advisory:
https://rustsec.org/advisories/RUSTSEC-2024-0384
Which version of tantivy are you using?
0.22
To Reproduce
The text was updated successfully, but these errors were encountered: