defaultdict

Crates.iodefaultdict
lib.rsdefaultdict
version0.18.0
sourcesrc
created_at2022-08-13 19:20:32.027304
updated_at2024-02-06 08:42:25.416344
descriptionA hashmap implementation that mirrors the python defaultdict.
homepage
repositoryhttps://github.com/MitchellBerend/defaultdict
max_upload_size
id645009
size74,832
Mitchell Berendhuysen (MitchellBerend)

documentation

https://docs.rs/defaultdict

README

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.

Commit count: 40

cargo fmt