macro-toolset
Some useful macros, to make the repetitive code less.
Features
str_concatalmost everything- Hashing and encode to HEX
- MD5
- SHA256
- SHA384
- SHA512
- ...
The features listed in Cargo.toml:
dev: For development and enable all features. Not recommended since introducing axum, etc will add many dependencies.macros-base64: Base64 encode and decode related utilities.macros-hash: Hash algorithms (MD5, SHA256, SHA384, SHA512) related utilities.macros-random: Random number / string related utilities. You shall addrandto yourCargo.toml.macros-random-fast: Random number / string related utilities. You shall addrandto yourCargo.toml.macros-string: String related utilities.macros-string-ext-axum: implementIntoResponsefor StringExt.macros-string-ext-base64: wrapper that indicates the inner slice should be encoded in base64 over&[u8]macros-string-ext-hex: advanced hex encoding based onconst-hex, with better performance than simpleNumStr.macros-string-ext-ryu: fload number support.
MSRV
1.66
Notice
This crate is currently intended for personal use mostly, but contributions are welcome.
LICENSE
GPL-3.0-only