Crate quork

source ·
Expand description

Quork

A collection of small things that don’t deserve their own crate

Features

  • Traits to flip booleans
  • Trait to map a Mutex
  • Trait to check if a value contains truth
  • Check if the current process is elevated
  • Check network connectivity (Windows only)
  • Macro to derive a constant implementation turn enum into a string
  • Macro to derive a new fn
  • Macro to time how long a function takes to execute
  • Macros to strip leading whitespace from string
  • Macro to derive the From trait for a tuple type

Made with 💗 by Juliette Cordor

Re-exports

Modules

  • Network helpers
  • use quork::prelude::* To include common helpful items
  • Checks if the current user has root privileges.
  • Trait implementations
  • Unix specific functionality.