Skip to main content

paladin_notifications/
lib.rs

1//! # paladin-notifications
2//!
3//! Notification adapter implementations for the Paladin multi-agent framework.
4//!
5//! ## Feature flags
6//!
7//! | Flag     | Enables |
8//! |----------|---------|
9//! | `email`  | [`email_notification_adapter`] — requires `lettre` + `handlebars` |
10//! | `push`   | [`push_notification_adapter`] (stub, no extra deps) |
11//! | `system` | [`system_notification_adapter`] — in-memory system notifications |
12
13#![warn(missing_docs)]
14#![allow(rustdoc::broken_intra_doc_links)]
15
16/// Email notification adapter (SMTP via `lettre`, templating via `handlebars`).
17#[cfg(feature = "email")]
18pub mod email_notification_adapter;
19
20/// Push notification adapter (stub, no runtime dependencies).
21#[cfg(feature = "push")]
22pub mod push_notification_adapter;
23
24/// System (in-app) notification adapter backed by in-memory storage.
25#[cfg(feature = "system")]
26pub mod system_notification_adapter;