ruc

Crates.ioruc
lib.rsruc
version7.8.4
sourcesrc
created_at2021-01-10 10:29:17.445601
updated_at2024-11-02 02:07:34.561625
descriptionRust Util Collections
homepagehttps://github.com/rust-util-collections/ruc
repositoryhttps://github.com/rust-util-collections/ruc.git
max_upload_size
id338361
size68,023
(ktmlm)

documentation

README

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
  • Algorithm operations
    • required features: algo
      • rand, hash, ecc sigature, etc.
  • Encode/Decode operations
    • required features: ende
      • hex, base64
      • zlib compress, zlib uncompress
      • json, message-pack, serde transcode
      • and so on ...
  • ...

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:

ENV VARs

  • $RUC_SSH_TIMEOUT: ssh process timeout
    • Default to 20s
    • The max value is 300s(5 minutes)
  • $RUC_HTTP_TIMEOUT: http process timeout
    • Default to 3s
    • The max value is 255s(u8::MAX)

Gratitude

Thanks to all the people who already contributed!

Commit count: 151

cargo fmt