systemprompt-sync 0.9.0

Cloud sync services for systemprompt.io AI governance infrastructure. File, database, and crate deployment across governance tenants in the MCP governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Disk serialisation helpers used by the various `*_to_disk` operations.
//! Each submodule emits the YAML config + Markdown body layout expected by
//! the matching `*Local Sync`.

mod content;

pub use content::{export_content_to_file, generate_content_markdown};

pub fn escape_yaml(s: &str) -> String {
    s.replace('\\', "\\\\")
        .replace('"', "\\\"")
        .replace('\n', "\\n")
}