Crate bitbazaar

source ·
Expand description

bitbazaar - An assortment of publicly available cross-language utilities useful to my projects.

Modules§

  • Chrono utilities
  • Command line interface utilities.
  • Error handling utilities.
  • Hashing utilities.
  • Logging utilities
  • Completely miscellaneous utilities
  • Redis utilities
  • 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.
  • 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.