Commit Graph

11 Commits

Author SHA1 Message Date
Emi Simpson 70707f0b8e
Remove debug statements 2021-10-25 12:15:56 -04:00
Ben Aaron Goldberg fccbef27ee Fixed UserPreferencesV0::as_prefstring_bytes
Also added more tests around prefstrings

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-24 01:21:14 -04:00
Ben Aaron Goldberg 29addcaf9a Impl from_preferences
With creates a Preference instance from a list of pronoun weights.

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-24 00:01:48 -04:00
Ben Aaron Goldberg 87583fc383 Change method name of Preference to better conform to standards
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-23 20:46:56 -04:00
Ben Aaron Goldberg a927e9010b Impl into_prefstring_bytes for UserPreferencesV0
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-23 20:30:48 -04:00
Emi Simpson 5c3e3b4af7
Fleshed out weighted tables 2021-10-21 23:06:14 -04:00
Emi Simpson 8a486323df
Add coversion to a weighted table to v0 2021-10-21 21:48:13 -04:00
Emi Simpson 01ef419505
Added v0 parsing 2021-10-21 18:33:38 -04:00
Emi Simpson a97b97182e
Associate the lifetime of the settings with the table, not the user prefs 2021-10-21 15:05:52 -04:00
Emi Simpson 4ce602c14a
Add weighted tables, use better time lib, use b32 2021-10-21 14:38:11 -04:00
Emi Simpson aeef51f1e4
Stubbed some core functionality 2021-10-21 00:18:41 -04:00