Expand description
bitbazaar - An assortment of publicly available cross-language utilities useful to my projects.
Modules§
- Chrono utilities
- cli
cli
Command line interface utilities. - command
Non-WebAssembly OS Command related utilities. Much lighter weight than cli module (which will probably be deprecated as badly written and not maintainable). Not applicable to wasm - cookies
cookies_ssr
orcookies_wasm
Setting/getting cookies in wasm or ssr. - Hashing & encryption utilities. Most inside is feature gated.
- Error handling utilities.
- file
Non-WebAssembly File related utilities. Therefore disabled on wasm. - Logging utilities
- Completely miscellaneous utilities
- redis
redis
Redis utilities - Concurrency/parallelism utilities
- timing
timing
Timing utilities
Macros§
- A macro for building
Report<AnyErr>
objects with string information easily. - A macro for building
Report<ArbitraryErrorStackErr>
objects with string context easily. - When working in a function that cannot return a result, use this to auto panic with the formatted error if something goes wrong.
- When working in a function that cannot return a result, use this to auto panic with the formatted error if something goes wrong.
- Internal version of
Retry::call
that: - timeit
timing
Time a block of code and log to the global time recorder. - Warn a user once, with uniqueness determined by the calling location itself.
- Warn a user once, with uniqueness determined by the given ID.