Skip to content

A 0 dependency, no_std, const-only parser for the IRC message protocol.

License

Notifications You must be signed in to change notification settings

auronandace/const_irc_message_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

const_irc_message_parser

A 0 dependency, no_std, const-only parser for the IRC message protocol.

Motivation

I wanted to see how much of an IRC message parser can be written in a const context. Every public and private function is const. I was even able to make all the tests const functions even though it ends up being more verbose. The only exceptions are the Display impls as functions on Traits are not yet allowed to be const (rust-lang/rust#103265). I am also unaware of how to test Display impls in a const manner for code coverage. Suggestions welcome.

Documentation

Documentation can be found here: https://docs.rs/const_irc_message_parser

Acknowledgements

About

A 0 dependency, no_std, const-only parser for the IRC message protocol.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages