astrid_telegram/lib.rs
1//! Astrid Telegram Bot — a thin client for the Astrid agent runtime.
2//!
3//! Connects to a running `astridd` daemon via `WebSocket` JSON-RPC and
4//! exposes the agent through a Telegram bot interface.
5//!
6//! This crate can be used as a library (embedded in the daemon) or as a
7//! standalone binary (`astrid-telegram`).
8
9#![deny(unsafe_code)]
10#![deny(missing_docs)]
11#![deny(clippy::all)]
12#![warn(unreachable_pub)]
13#![deny(clippy::unwrap_used)]
14#![cfg_attr(test, allow(clippy::unwrap_used))]
15// These are pre-existing pedantic lints on items that became public API when
16// the crate was split into lib + bin. Suppress at the crate level to avoid
17// bloating the diff — they can be addressed in a dedicated cleanup pass.
18#![allow(clippy::missing_errors_doc)]
19#![allow(clippy::missing_panics_doc)]
20#![allow(clippy::must_use_candidate)]
21
22pub mod approval;
23pub mod bot;
24pub mod client;
25pub mod config;
26pub mod elicitation;
27pub mod error;
28pub mod event_loop;
29pub mod format;
30pub mod handler;
31pub mod session;