Stuart Small

Results 31 comments of Stuart Small

Nothing past the small change that got merged.

I'm able to easily work around this by using stream! rather than try_stream. So far it looks like I can still get my job done just without the niceness of...

I guess this question is why would you want to clean it out?

I've resisted adding one because if a program relies on cleaning up resources by manually calling remove_expire() they either have too long cache times or intialized the cache with too...

I've been using remove + insert but refresh would be a good addition. I'll add that.

Next time I get a chance to sit down with the library I will implement TtlSet as TtlCache as @leoschwarz suggested. This is the same way HashSet in the StdLib...

Great point. I'll look into doing this. Do you have any thoughts on what you would like the general API to look like?

I was thinking about this. I think I might implement this as a generic type parameter. By default it will be an implementation that directly calls Duration/Instant but a user...

Great question. I have a core rust library that exposes its interface with safer_ffi. safer_ffi is library that uses macros to help automatically produce the interface, boilerplate and C header...

+1 I could really use implementation of Serialize/Deserialize for a project I'm working on.