enum-map
phpass
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
-
(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.
phpass
-
cryptography.rs: showcase of notable cryptography libraries developed in Rust (a.k.a. Awesome Rust Cryptography)
I have one for your password hashing section: https://github.com/clausehound/phpass
-
What's your favourite under-rated Rust crate and why?
phpass , which implements the password algorithm used by WordPress in rust. WordPress is a reality for so many devs, and this solves a big challenge in either moving away from it, or at least handling your auth on the rust side. It's also way faster than matching running the php code, so if you're doing security scans on your password DB it can really help (eg check for a bunch of commonly used passwords, then clear + send password reset emails to those who are insecure).
What are some alternatives?
strum - A small rust library for adding custom derives to enums
logos - Create ridiculously fast Lexers
parse-size - Parse byte size into integer accurately.
futures-batch - An adapter for futures, which chunks up elements and flushes them after a timeout — or when the buffer is full. (Formerly known as tokio-batch.)
structopt - Parse command line arguments by defining a struct.
fuzzcheck-rs - Modular, structure-aware, and feedback-driven fuzzing engine for Rust functions
serde-plain - A serde serializer that serializes a subset of types into plain strings
concrete - Concrete: TFHE Compiler that converts python programs into FHE equivalent
actix-web-static-files - actix-web static files as resources support
yayagram - Play nonograms/picross in your terminal
NumToA - An efficient method of heaplessly converting numbers into their string representations, storing the representation within a reusable byte array.
schemafy - Crate for generating rust types from a json schema