topset (Top N set)

This crate provides a topset which selects a given number of greatest items.

The criterium used to sort the items could be specified as a closure.

It is based on a binary heap with a fixed size.