qolrus 0.1.0

A suite of random but useful functions that are aimed at giving you 'piece of cake' level comfortability.
Documentation
  • Coverage
  • 37.5%
    3 out of 8 items documented0 out of 0 items with examples
  • Size
  • Source code size: 12.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 203.06 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • cerebrusinc/qolrus
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • lewisjr

qolrus

A suite of random but useful functions that are aimed at giving you 'piece of cake' level comfortability.

This is a port of the following packages:

Any suggestions or fixes needed can be submitted here.

Functions

Generate a random colour.

Example

use qolpy::{random_colour, ColourType};

fn main() {
    let colour: String = random_colour(ColourType::HEX);
    println!("The colour is: '{}'", colour)
    // The colour is: '#f7f7f7'
}

Availabe (ENUM) colour types

  • HEX
  • RBG
  • CMYK
  • HSV
  • HSL