defaultdict

A hashmap implementation that mirrors the python defaultdict

14 breaking releases

new 0.16.0 May 25, 2023
0.15.0 Mar 19, 2023
0.14.0 Mar 18, 2023
0.13.0 Aug 28, 2022

#86 in Database implementations

Download history 18/week @ 2023-02-02 39/week @ 2023-02-09 46/week @ 2023-02-16 6/week @ 2023-02-23 1/week @ 2023-03-02 12/week @ 2023-03-09 65/week @ 2023-03-16 9/week @ 2023-03-23 6/week @ 2023-03-30 15/week @ 2023-04-06 38/week @ 2023-04-13 5/week @ 2023-04-20 5/week @ 2023-04-27 36/week @ 2023-05-04 12/week @ 2023-05-11 9/week @ 2023-05-18

62 downloads per month

MIT license

39KB
593 lines

Crates.io codecov

Motivation

This serves as an utility library and an example project. It has no dependencies so it can be used in a different project without pulling in other dependencies transitively.

Description

This library exposes structs that mimicks the behaviour of the python defaultdict.

This behaviour does require that the type of the value does have the Default implemented.


lib.rs:

This library exposes structs that mimicks the behaviour of the python defaultdict.

This behaviour does require that the type of the value does have the [Default] implemented.

No runtime deps