#irc #client

loirc

Low-level IRC client library with robustness in mind

6 releases

Uses old Rust 2015

0.2.0 May 16, 2016
0.1.4 Oct 12, 2015
0.1.3 Sep 25, 2015
0.1.1 Jul 30, 2015

#7 in #irc-client

Download history 22/week @ 2023-10-19 26/week @ 2023-10-26 21/week @ 2023-11-02 27/week @ 2023-11-09 20/week @ 2023-11-16 25/week @ 2023-11-23 30/week @ 2023-11-30 28/week @ 2023-12-07 24/week @ 2023-12-14 27/week @ 2023-12-21 12/week @ 2023-12-28 16/week @ 2024-01-04 19/week @ 2024-01-11 20/week @ 2024-01-18 17/week @ 2024-01-25 14/week @ 2024-02-01

73 downloads per month
Used in 3 crates (via hiirc)

Zlib license

67KB
1.5K SLoC

loirc

loirc is a low level irc client library. It's with built robustness in mind. Automatic reconnections are built into the core, and utilities are available to increase reliability. It's the perfect library to use on fragile network connections such as Wi-Fi, but it's also very useful for any type of clients, such as bots and loggers, that require high availability.

Events are read from a channel, and communications are sent via Writers. Event processing can be a bit tedious, hence why this is considered low level.

A library named hiirc built on top of this is in active development, it will provide the same robustness, but with a much friendlier, event-based API.

The documentation is pretty good, please refer to it for more information. Examples are also available in the examples folder.

Server side is not a goal of loirc at the moment.

License

zlib license, see LICENSE

Dependencies

~2MB
~30K SLoC