Crate minimo

Source

Re-exports§

pub use console::*;
pub use constants::*;
pub use macros::*;
pub use text::*;
pub use random::*;
pub use lazy::*;
pub use moment::*;
pub use location::*;
pub use dot::*;
pub use config::*;

Modules§

config
console
constants
context
dot
lazy
location
macros
moment
random
result
text
value

Macros§

ask_date
ask_datetime
ask_datetime_location
ask_location
choice
confirm
divider
Macro to print a divider with optional text and styles
get
get_or
get_or_else
get_or_insert
hex
hex! macro
hexbg
hexbg! macro to convert hex color to ansi background color example: hexbg!(#0099FF) -> “\x1b[48;2;0;99;255m\x1b[30m” example: hexbg!(#0099FF, 255) -> “\x1b[48;2;0;99;255m\x1b[30m” example: hexbg!(#0099FF, 255, 255, 255) -> “\x1b[48;2;0;99;255m\x1b[30m”
lazy
lazy_arc
maybe
number
paragraph
Macro to print a paragraph with a title and text The text is automatically wrapped to the max width
progress_bar
remove
render
Same as show! but returns a string instead of printing it
selection
selection_multi
set
show
show_wrapped
same as show! but wraps the text to the max width (ascii formatting strings are excluded from character count to properly wrap text) e.g. show_wrapped!(green, "hello world", yellow, "this is a test", blue, "to make sure that the text is wrapped properly") will wrap the text to the max width and print it in the specified colors ascii formatting strings are excluded from character count to properly wrap text
showln
spinner
text
tree
Macro to print a tree of the provided serializable object
update

Structs§

Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
Mutex
A mutual exclusion primitive useful for protecting shared data