Expand description
Dev deps: some useful macros.
Modules§
- Base64 related macros
- Hash related macros
- Misc
- Random number / string generation utilities
- useful
StringExt
utilities forcrate::str_concat
macros
Macros§
- Base64 decode
- Base64 encode
- Base64 encode with
bytes::Bytes
returned - Calculate Hash.
- A helper macro to get string from hash result
- Helper to create version string or build time for your crate.
- Init
tracing_subscriber
with default settings. - Calculate MD5 hash.
- Faster way to get current timestamp other than
chrono::Local::now().timestamp()
, 12x faster on my machine. - Generate a random string by choosing ones from given candidates.
- Generate random string.
- random_
string_ fast Deprecated Generate random string base on xor-shift algorithm. - Calc SHA256 hash.
- Calculate SHA384 hash.
- Calculate SHA512 hash.
- Create a
SliceSep
. - Helper macro for creating a wrapper type.