Why does `DiskCache` need to impl `Display`?
Looking at the docs for DiskCache here, it defines:
impl<K, V> DiskCache<K, V>
where
K: Display,
V: Serialize + DeserializeOwned
Is there any particular reason why it needs to implement Display?
If possible, could this be removed completely? If not, atleast be gated behind a feature?
@jaemk Could you take a look at this please?
@IgnisDa I think it'll move it faster, if you create a PR.
I tried to do it here but it did not work: https://github.com/IgnisDa/cached/tree/remove-display-trait
@IgnisDa I think just replacing Display with ToString will do the job.
@omid Made a PR.