#prompt #user-input

cumaea

A crate to handle prompts for user input

2 releases

0.1.1 Jan 16, 2024
0.1.0 Jan 13, 2024

#96 in #user-input

GPL-3.0-or-later

19KB
297 lines

cumaea

cumaea is a crate that handles prompting for user input. It's a personal project; if you found it somehow, DO NOT USE IT. I'll probably break it a week from now. :)

Usage

If you're still here, this crate exports two functions and a couple of [enum]s that govern the coloration and decoration of your prompts. I suggest bringing into scope the individual variants of the enums, for less typing. Or, you can type Some(cumaea::ColorChoice::Normal(cumaea::Color::Magenta)) in your function calls!


lib.rs:

Cumaea

cumaea is a crate which handles prompting for user input. It's named after the Cumaean Sibyl, who sold the Sibylline books to the last king of Rome.

Dependencies

~0–9.5MB
~42K SLoC