Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Running

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:

  • build-essential
  • pkg-config for openssl-sys crate
  • libssl-dev for openssl-sys crate

Maintenance

Follow some best practices to keep the code clean:

  • Run cargo fmt on the code. Ensure it is installed by issuing rustup component add rustfmt-preview (at the time of writing).
  • Run cargo clippy on the code. Ensure it is installed by issuing rustup component add clippy (at the time of writing).
  • Run cargo outdated to check for outdated dependencies. See https://github.com/kbknapp/cargo-outdated. Currently install is via cargo install cargo-outdated.
  • Run cargo test.

To Do/Ideas

  • Basic query parsing should probably be centralised, always the same idea.
  • plugins.toml should let you decide which plugins to enable.

About

Playing around with rust and remaking irc-butler

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published