Crate ruc

source ·
Expand description

GitHub top language Rust Latest Version Rust Documentation Minimum rustc version

§ruc

Rust Util Collection, components included:

  • Chained error management
  • Local command execution based on rust standard library
    • required features: cmd
  • Remote command execution based on the SSH protocol
    • required features: ssh
  • Interprocess Communication Based on Unix Abstract Sockets
    • required features: uau
    • only available on various Linux platforms
    • the built-in functions only support the UDP protocol
  • Crypto operations
    • required features: crypto

In addition, there is a feature named “full”, using it will enable all functional features.

§Documentations

# cargo doc --all-features --open
make doc

Links to static documentations:

§Gratitude

Thanks to all the people who already contributed!

Re-exports§

  • pub use err::*;

Modules§

Macros§

  • optimize readable in high-level-functions
  • print debug-info, eg: modular and file path, line number …
  • get current DateTime
  • Just a panic
  • Generate error with debug info
  • eprint custom msg
  • print infomation only
  • drop the result afeter printing the message
  • HashMap/BTreeMap operations
  • find the max value of multi values
  • find the min value of multi values
  • omit the result without printing any message
  • Print log, and panic
  • print custom msg
  • Sleep in milliseconds
  • get current UTC-timestamp