5 releases
0.1.2-alpha | Jan 22, 2021 |
---|---|
0.1.1 | Jan 22, 2021 |
0.1.1-alpha | Jan 21, 2021 |
0.1.0 | Jan 21, 2021 |
#2888 in Parser implementations
23KB
448 lines
tmi-parser
Description
A simple, dependency-less library for parsing IRC-based TMI message.
This library is made with simplicity and performance in mind using only Rust's pattern matching.
Still WIP.
Changelog
-
Separate
Message
andTags
in separate modules. -
Implement a custom and more performant hasher for
Tags
map. -
Separate
TagValue::Number
andTagValue::Color
.
Known issues
-
If fed with incorrect input,
Message::parse
may panic. -
Message
tags are not validated. -
Single digit number
0
or1
will be interpreted as Booleanfalse
ortrue
. -
Unparsing
Message
may return a string different from the original.
License
Licensed under the terms of the MIT license.