rubot/Cargo.toml
reverse ab02a5436e Add TLS transport support
Connect over TLS (default port 6697) using native-tls with the system
OpenSSL trust store for certificate verification. Unify the plaintext and
TLS transports behind a single Box<dyn Read + Write>, dropping the
read/write socket clone that a TLS session cannot support. Add a `tls`
config key and IRC_TLS override; the port auto-defaults to 6697 when TLS
is enabled.
2026-07-28 14:57:44 +00:00

22 lines
629 B
TOML

[package]
name = "rustbot"
version = "0.1.0"
edition = "2021"
description = "A modular, dependency-free IRC bot in Rust with a hand-rolled IRC protocol layer"
license = "MIT"
authors = ["a.srenov"]
[[bin]]
name = "rustbot"
path = "src/main.rs"
# The IRC protocol layer is hand-rolled in `src/irc.rs` (modern IRC client
# spec: https://modern.ircdocs.horse/). The sole dependency is native-tls for
# the optional TLS transport; it wraps the system OpenSSL, so TLS security
# fixes arrive through normal OS updates rather than a vendored crypto crate.
[dependencies]
native-tls = "0.2"
[profile.release]
lto = true
strip = true