You need a
bot.toml file that follows the format as specified by the irc
crate. Compile with the usual rustup (to install
Rust and friends) and cargo (to actually do the building) commands. Generally
aiming for whatever is the latest version of Rust.
Things I was required to install with
apt on a fresh Lubuntu installation:
pkg-configfor openssl-sys crate
libssl-devfor openssl-sys crate
Follow some best practices to keep the code clean:
cargo fmton the code. Ensure it is installed by issuing
rustup component add rustfmt-preview(at the time of writing).
cargo clippyon the code. Ensure it is installed by issuing
rustup component add clippy(at the time of writing).
cargo outdatedto check for outdated dependencies. See https://github.com/kbknapp/cargo-outdated. Currently install is via
cargo install cargo-outdated.
- Basic query parsing should probably be centralised, always the same idea.
plugins.tomlshould let you decide which plugins to enable.