Remove code comments
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
c522e3aa3e
commit
33fbe7d5fc
17 changed files with 18 additions and 335 deletions
16
src/lib.rs
16
src/lib.rs
|
|
@ -1,23 +1,7 @@
|
|||
//! rustbot — a small, modular IRC bot, split into a reusable library (this
|
||||
//! crate) and a thin binary (`src/main.rs`).
|
||||
//!
|
||||
//! Modules:
|
||||
//! * [`irc`] — protocol + transport (the "IRC library"): message parsing,
|
||||
//! IRCv3 tags, and a blocking TCP/TLS [`irc::Connection`].
|
||||
//! * [`bot`] — behavior: registration, capability negotiation, the event
|
||||
//! loop, and commands, driving one [`irc::Connection`].
|
||||
//! * [`config`] — the layered [`config::Config`] and how it is loaded from a
|
||||
//! file (with optional `[network]` sections) and environment.
|
||||
//!
|
||||
//! The binary adds only a per-network connect/reconnect supervisor on top, so
|
||||
//! the whole bot is exercisable — and reusable — through this library's API.
|
||||
|
||||
pub mod bot;
|
||||
pub mod config;
|
||||
pub mod irc;
|
||||
|
||||
/// Tiny stderr logger shared by the library and the binary. Swap for the
|
||||
/// `log`/`tracing` crates if you outgrow it.
|
||||
pub fn log(msg: &str) {
|
||||
eprintln!("[rustbot] {msg}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue