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
reason = """The temporary files created by this method are not persistable if the temporary directory lives on a different filesystem than the target directory. While it is valid in other contexts (if not persisting files), it was misused many times and so we are banning it. Consider using `tempfile::NamedTempFile::new_in` or `tempfile::NamedTempFile::Builder"""
46
46
47
+
[[disallowed-methods]]
48
+
path = "lru::LruCache::new"
49
+
reason = """Use SizeTrackingLruCache instead."""
50
+
51
+
[[disallowed-methods]]
52
+
path = "lru::LruCache::with_hasher"
53
+
reason = """Use SizeTrackingLruCache instead."""
54
+
47
55
[[disallowed-methods]]
48
56
path = "lru::LruCache::unbounded"
49
-
reason = """Avoid unbounded lru cache for potential memory leak"""
57
+
reason = """Avoid unbounded lru cache for potential memory leak, use SizeTrackingLruCache instead."""
58
+
59
+
[[disallowed-methods]]
60
+
path = "lru::LruCache::unbounded_with_hasher"
61
+
reason = """Avoid unbounded lru cache for potential memory leak, use SizeTrackingLruCache instead."""
0 commit comments