Expand description
The Buddy Up Lib contains all the brains to generate pairs from people.
Modules§
Structs§
- History
- Contains history of past pairings
- History
Stats - Saves some stats about the
History. - Pairs
- People
- Abstraction over all the people you may want to pair up.
Give it a impl
Read, like a file, to getPeopleback. - Person
Enums§
- Buddy
Error - Defines the Errors we might encounter
Functions§
- pair
- This function does the pairing magic. Given some
Peopleand aHistoryof past pairings, it’ll output a new set ofPairs. - print_
table - Prints a pretty table of pairs.
- save_
history - Write the JSON history of this pairing to the given directory