Expand description
Dev deps: some useful macros.
Modules§
- Base64 related macros
- Hash related macros
- Misc
- Random number / string generation utilities
- string
Deprecated usefulStringExt
utilities forcrate::str_concat
macros - 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.
- See
RandStr
andRandHexStr
for more information. - Generate random
String
. - random_
string_ fast Deprecated Generate random string base on xor-shift algorithm. - Calc SHA256 hash.
- Calculate SHA384 hash.
- Calculate SHA512 hash.
- slice_
sep Deprecated Create aSliceSep
. - str_
concat Deprecated - See
IterWrapper
. - Helper macro for creating a wrapper type.
Structs§
- MyStringDerived