Add templates for messages

Implement a template syntax with a nom parser, and a formatter to render
templates to strings.
This commit is contained in:
Griffin Smith 2019-07-19 11:54:31 -04:00
parent bc93999cf3
commit e2d13bd76b
9 changed files with 549 additions and 102 deletions

View file

@ -15,6 +15,7 @@ lazy_static = "*"
log = "*"
log4rs = "*"
maplit = "^1.0.1"
nom = "^5.0.0"
prettytable-rs = "^0.8"
proptest = "0.9.3"
proptest-derive = "*"