enum-map
By xfix
enum-iterator
Tools to iterate over all values of a type (by stephaneyfx)
enum-map | enum-iterator | |
---|---|---|
3 | 1 | |
21 | 95 | |
- | - | |
0.0 | 6.2 | |
- | 4 days ago | |
Rust | Rust | |
MIT License | BSD Zero Clause License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
enum-map
Posts with mentions or reviews of enum-map.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-03.
-
(Tip of my fingers) Library with a macro to create an enum from a range
I know I could write (and have written) this enum myself by hand. I don't want to use a newtype around u8 or something like that because I want the static guarantees of an enum — plus I'm using EnumMap to create statically-allocated maps with enum keys, so I'm hoping whatever this library was will play nicely with it.
-
Is std::collections::HashMap optimized for enums?
What you might want is enum-map instead.
-
What's your favourite under-rated Rust crate and why?
enum_map is great for dense maps where the keys are the variants of a discriminant-only enum.
enum-iterator
Posts with mentions or reviews of enum-iterator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-07.
-
What's your favourite under-rated Rust crate and why?
Also enum-iterator
What are some alternatives?
When comparing enum-map and enum-iterator you can also consider the following projects:
strum - A small rust library for adding custom derives to enums
serde-plain - A serde serializer that serializes a subset of types into plain strings
parse-size - Parse byte size into integer accurately.
structopt - Parse command line arguments by defining a struct.
redbpf - Rust library for building and running BPF/eBPF modules
actix-web-static-files - actix-web static files as resources support
rust-djangohashers - A Rust port of the password primitives used in Django Project.
NumToA - An efficient method of heaplessly converting numbers into their string representations, storing the representation within a reusable byte array.
goblin - An impish, cross-platform binary parsing crate, written in Rust
enum-map vs strum
enum-iterator vs serde-plain
enum-map vs parse-size
enum-iterator vs strum
enum-map vs structopt
enum-iterator vs redbpf
enum-map vs serde-plain
enum-iterator vs parse-size
enum-map vs actix-web-static-files
enum-iterator vs rust-djangohashers
enum-map vs NumToA
enum-iterator vs goblin