echoIRCd/Cargo.toml

27 lines
882 B
TOML

[package]
name = "echoircd"
version = "0.1.0"
edition = "2021"
description = "A small, dependency-light IRC daemon in Rust with a modular command/mode/module API."
license = "MIT"
[[bin]]
name = "echoircd"
path = "src/main.rs"
[lib]
name = "echoircd"
path = "src/lib.rs"
[dependencies]
# TLS backend: openssl. The crate keeps all `unsafe` internal, so the daemon
# stays `#![forbid(unsafe_code)]`. A pure-Rust `rustls` backend can slot in beside it.
openssl = "0.10"
# epoll/kqueue reactor for the client socket engine — a minimal readiness layer
# (no async runtime). Lets one thread drive tens of thousands of connections
# instead of 2 OS threads per client. Its `unsafe` stays internal (like openssl),
# so the daemon is still `#![forbid(unsafe_code)]`; no async runtime is pulled in.
mio = { version = "1", features = ["os-poll", "net"] }
[profile.release]
opt-level = 3