cock_lib/lib.rs
1//! A library for comprehensive grading of cocks.
2//!
3//! `cock-lib` provides a modular, extensible, and detailed system for
4//! grading and classifying cocks based on various metrics.
5//!
6//! This library allows users to:
7//! - Assign scores based on multiple factors such as size, shape, and aesthetics.
8//! - Easily extend the functionality by adding new grading methods.
9//! - Obtain a comprehensive summary of the cocks score, grade, stats, etc.
10//!
11//! # Simple Example
12//! ```
13//! use cock_lib::{
14//! CockStruct,
15//! cock_parts::{Size, Aesthetic, Balls, Shape, Curvature, Circumcision, Veininess, Abnormalities, Inches}
16//! };
17//!
18//! let cock = CockStruct::new(
19//! Size {
20//! length: 5.5,
21//! girth: 4.5,
22//! size_type: Inches,
23//! },
24//! Aesthetic::Normal,
25//! Balls::Normal,
26//! Shape::Cylindrical,
27//! Curvature::Straight,
28//! Circumcision::Uncircumcised,
29//! Veininess::Normal,
30//! Abnormalities::None,
31//! );
32//!
33//! // Perform your operations on `cock`
34//! ```
35//!
36
37pub mod cock_parts;
38pub mod cock_handler;
39pub mod cock_struct;
40pub mod user;
41pub mod traits;
42pub mod tier;
43
44pub use user::{ID, InnerUser};
45pub use traits::{GetVariants, FromString, Score};
46pub use tier::Tier;
47pub use cock_struct::CockStruct;
48pub use cock_handler::{CockHandler, CockResult};
49
50#[cfg(feature = "bin_use")]
51pub mod bin_use;