Commit Graph

19 Commits

Author SHA1 Message Date
Ben Aaron Goldberg ceace8ebb4 Add editorconfig
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-23 20:43:59 -04:00
Ben Aaron Goldberg a0ce9ea8cb Add some missing doc comments
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-23 20:43:12 -04:00
Ben Aaron Goldberg 63dd63c230 Impl select_pronouns and add parse_prefstring to InstanceSettings
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-23 20:33:12 -04:00
Ben Aaron Goldberg 71e979e023 Add the select_pronoun method to UserPreferencesV0 & impl Default for UserPreferences
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-23 20:31:45 -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
Ben Aaron Goldberg 2233cf5a15 Fix typo in user pref spec
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-23 20:30:06 -04:00
Ben Aaron Goldberg 51d5ee9a2e user_preferences: Completed impl of Preference for UserPreferences
from_prefstring_bytes and into_prefstring_bytes  are now implemented.

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-22 00:35:06 -04:00
Ben Aaron Goldberg ad34aa9a4c Impl Error on ParserError
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-21 23:39:25 -04:00
Ben Aaron Goldberg e35fadc778 Add Cargo.lock to gitignore
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-21 23:20:22 -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 eaad02b4e7
Add crate-level docs 2021-10-21 14:43:04 -04:00
Emi Simpson b04d8ed8bc
Expand Pronoun struct 2021-10-21 14:38:20 -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
Emi Simpson 6e4c63bfdf
Add cargo metadata 2021-10-20 21:45:12 -04:00
Emi Simpson bae7344890
Initialize repository 2021-10-20 21:28:26 -04:00