| Crates.io | tmi-parser |
| lib.rs | tmi-parser |
| version | 0.1.2-alpha |
| created_at | 2021-01-21 18:53:25.20552+00 |
| updated_at | 2021-01-22 20:32:57.659299+00 |
| description | A simple, dependency-less library for parsing IRC-based TMI message. |
| homepage | |
| repository | https://github.com/bynect/tmi-parser |
| max_upload_size | |
| id | 344997 |
| size | 22,339 |
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.
Separate Message and Tags in separate modules.
Implement a custom and more performant hasher for Tags map.
Separate TagValue::Number and TagValue::Color.
If fed with incorrect input, Message::parse may panic.
Message tags are not validated.
Single digit number 0 or 1 will be interpreted as Boolean false or true.
Unparsing Message may return a string different from the original.
Licensed under the terms of the MIT license.