1 unstable release
Uses old Rust 2015
0.1.0 | Mar 12, 2018 |
---|
#54 in #irc
15KB
179 lines
irclap
A bridge between the irc crate and clap-rs. This helps process irc messages as commands, and will also hopefully allow accessing bot commands as command line tools (and vice versa)
Of course, being version 0.1.0
, there's a lot of room for improvement.
Limitations
- Currently nightly-only, because it needs
conservative_impl_trait
. - No CLI support yet
lib.rs
:
A crate for parsing IRC bot commands via clap. Documentation is hopefully good, but not vetted by others, so any comments are very welcome.
The core function of the library is provided through [new_irclap_future], which links together all necessary trait impls and config as a single [Future]. That Future can then be driven on a tokio reactor, and you've got yourself an IRC bot.
Dependencies
~11–21MB
~284K SLoC