Crates.io | cock-lib |
lib.rs | cock-lib |
version | 2.2.0 |
source | src |
created_at | 2023-05-28 11:31:38.153291 |
updated_at | 2023-06-01 07:26:17.837394 |
description | Measure the power level of a peen |
homepage | |
repository | https://github.com/im-turn/cock-lib |
max_upload_size | |
id | 876419 |
size | 49,360 |
Library for Turn's Cock Tier Evaluator.
I've dissected the cock-rating task into neat, testable modules. Here's a quick breakdown:
cock-cli
or cock-tui
. This currently holds a UserData
struct as well as a AppState
enum.User
and CockStruct
to provide easy methods to calculate and print all the juicy details about your member.size.rs
, aesthetic.rs
, balls.rs
(and others), represents a particular feature of your shlong, providing a score for several of them (a few features have no impact on ratings as of right now).cock-cli
or cock-tui
. This currently holds a UserData
struct as well as a AppState
enum.Want to see where you stand in the land of peen, but you're kinda a dummy?! Luckily I'm here to guide you through the process.
cock-cli
: CLI App using the cock_lib
librarycock-tui
: TUI App using the cock_lib
librarycock-web
: COMING SOON - WEB BACK END FOR cock_lib
You're a developer who sees the inherent value in this? Strange. However, it is fairly simple to get started with things. To begin, add the following to your Cargo.toml
file:
[dependencies]
cock-lib = "x.x.x"
Below is an example of one way you could go about using the API to create a data structure representing a cock, otherwise known as a CockStruct
.
use cock_lib::{
CockStruct,
cock_parts::{Size, Aesthetic, Balls, Shape, Curvature, Circumcision, Veininess, Abnormalities, Inches}
};
let cock = CockStruct::new(
Size {
length: 5.5,
girth: 4.5,
size_type: Inches,
},
Aesthetic::Normal,
Balls::Normal,
Shape::Cylindrical,
Curvature::Straight,
Circumcision::Uncircumcised,
Veininess::Normal,
Abnormalities::None,
);
This library comes with a built-in test suite that verifies the functionality of the code. To run the tests, use the command cargo test
in the project's root directory.
MIT License