maidsafe / lru_time_cache

LRU cache settable via size or time to live
BSD 3-Clause "New" or "Revised" License
104 stars 46 forks source link

chore: use deny(warnings) instead of forbid(warnings) #146

Closed S-Coyle closed 3 years ago

S-Coyle commented 3 years ago

deny can be overriden with allow, unlike forbid. This allows us to allow some warnings on a case-by-case basis which is especially useful in macros. Without this, some macros from other crates caused compilation errors on nightly, however it's possible it would eventually affect stable as well.