Skip to content

A simple, dependency-less library for parsing IRC-based TMI message

License

Notifications You must be signed in to change notification settings

bynect/tmi-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmi-parser

cratesio-badge

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 and Tags in separate modules.

  • Implement a custom and more performant hasher for Tags map.

  • Separate TagValue::Number and TagValue::Color.

Known issues

  • 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.

License

Licensed under the terms of the MIT license.