#time #filter #lru-cache #message #key #numbers #pattern

message_filter

A size or time based message filter that takes any generic type as a key and will drop keys after a time period, or once a maximum number of messages is reached (LRU Cache pattern)

13 releases (6 breaking)

Uses old Rust 2015

0.6.0 May 20, 2016
0.4.0 Apr 21, 2016
0.3.1 Mar 4, 2016
0.2.0 Dec 9, 2015
0.1.2 Jul 6, 2015

#59 in #lru-cache

GPL-3.0 license

29KB
302 lines

message_filter

Primary Maintainer: Fraser Hutchison (fraser.hutchison@maidsafe.net)

Crate Linux/OS X Windows Coverage Issues
Build Status Build status Coverage Status Stories in Ready
API Documentation - master branch SAFE Network System Documentation MaidSafe website SAFE Network Forum

Overview

A size or time based message filter that takes any generic type as a key and will drop keys after a time period, or once a maximum number of messages is reached (LRU Cache pattern). The filter currently only allows adding messages; a delete function will be provided at a later stage. This library can be used by network based systems to filter previously seen messages.

Dependencies