rust-djangohashers
enum-map
rust-djangohashers | enum-map | |
---|---|---|
1 | 3 | |
55 | 21 | |
- | - | |
5.4 | 0.0 | |
about 2 months ago | - | |
Rust | Rust | |
GNU General Public License v3.0 or later | MIT License |
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.
rust-djangohashers
-
What's your favourite under-rated Rust crate and why?
A crate that's kind of similar use-case-wise is djangohashers, which I've used to handle some interfacing with old legacy Django installations I've handled.
enum-map
-
(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.
What are some alternatives?
orion - Usable, easy and safe pure-Rust crypto [Moved to: https://github.com/orion-rs/orion]
strum - A small rust library for adding custom derives to enums
rust-security-framework - Bindings to the macOS Security.framework
parse-size - Parse byte size into integer accurately.
ed25519-dalek - Fast and efficient ed25519 signing and verification in Rust.
structopt - Parse command line arguments by defining a struct.
schannel-rs - Schannel API-bindings for rust (provides an interface for native SSL/TLS using windows APIs)
serde-plain - A serde serializer that serializes a subset of types into plain strings
octavo - Highly modular & configurable hash & crypto library
actix-web-static-files - actix-web static files as resources support
webpki - WebPKI X.509 Certificate Validation in Rust
NumToA - An efficient method of heaplessly converting numbers into their string representations, storing the representation within a reusable byte array.