30 lines
524 B
Rust
30 lines
524 B
Rust
// use colored::Colorize;
|
|
|
|
pub mod benchmark;
|
|
pub mod slimes;
|
|
|
|
pub const DEFAULT_PRIME_LIMIT: u64 = 500_000;
|
|
|
|
#[macro_export]
|
|
macro_rules! vprintln {
|
|
($verbose:expr, $($arg:tt)*) => {
|
|
if $verbose {
|
|
println!("{}", format!($($arg)*).dimmed());
|
|
}
|
|
};
|
|
}
|
|
|
|
pub fn application_header() -> &'static str {
|
|
r#"
|
|
.---.
|
|
.' '. < CPU SLIME >
|
|
/ ^ ^ \
|
|
: v : (Benchmarking)
|
|
| |
|
|
\ /
|
|
'._____.'
|
|
"#
|
|
// .bright_green()
|
|
// .bold()
|
|
}
|