poet 0.7.0

Static site generator with optional MCP server and LLM SEO optimizations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::Deserialize;
use serde::Serialize;

use crate::mcp::jsonrpc::notification::message::Message;
use crate::mcp::jsonrpc::notification::resources_list_changed::ResourcesListChanged;
use crate::mcp::jsonrpc::notification::resources_updated::ResourcesUpdated;

#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(tag = "method")]
pub enum ServerToClientNotification {
    #[serde(rename = "notifications/message")]
    Message(Message),
    #[serde(rename = "notifications/resources/list_changed")]
    ResourcesListChanged(ResourcesListChanged),
    #[serde(rename = "notifications/resources/updated")]
    ResourcesUpdated(ResourcesUpdated),
}