https://github.com/auronandace/const_irc_message_parser
A 0 dependency, no_std, const-only parser for the IRC message protocol.
https://github.com/auronandace/const_irc_message_parser
irc irc-protocol parser rust-lang
Last synced: 9 months ago
JSON representation
A 0 dependency, no_std, const-only parser for the IRC message protocol.
- Host: GitHub
- URL: https://github.com/auronandace/const_irc_message_parser
- Owner: auronandace
- License: isc
- Created: 2023-08-20T14:10:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-08T13:43:00.000Z (11 months ago)
- Last Synced: 2025-09-27T21:29:24.827Z (9 months ago)
- Topics: irc, irc-protocol, parser, rust-lang
- Language: Rust
- Homepage:
- Size: 141 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 (https://github.com/rust-lang/rust/issues/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
- IRC Message specifications: https://modern.ircdocs.horse
- IRC Message Tags specifications: https://ircv3.net/specs/extensions/message-tags.html
- IRC Formatting specifications: https://modern.ircdocs.horse/formatting