| Crates.io | qolrus |
| lib.rs | qolrus |
| version | 0.1.0 |
| created_at | 2023-10-12 00:51:25.920646+00 |
| updated_at | 2023-10-12 00:51:25.920646+00 |
| description | A suite of random but useful functions that are aimed at giving you 'piece of cake' level comfortability. |
| homepage | |
| repository | https://github.com/cerebrusinc/qolrus |
| max_upload_size | |
| id | 1000855 |
| size | 12,212 |
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.
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