sova-notifications 0.1.1

Database notifications with channels, ACL, optional WS/mail
Documentation

Database notifications with named channels, ACL, optional WS / mail.

app.install(
  Notifications::new()
    .channel(Channel::new("orders").publish("notifications.orders.publish"))
    .mount("/notifications")
    .guard(Fortify::guard())
);
Notify::to(user_id).channel("orders").event("order.shipped").title("Shipped").send(&req).await?;