ailint-core 1.0.1

Core library for ailint: discovery, parsing, rule engine, and reporters for AI agent guidance files.
Documentation
1
2
3
4
5
6
7
8
9
//! YAML parsing for guidance files that store rules as YAML
//! (e.g. Cursor rules, Windsurf rules).

use anyhow::Result;

/// Parse a YAML string into a generic `serde_yaml::Value`.
pub fn parse(input: &str) -> Result<serde_yaml::Value> {
    Ok(serde_yaml::from_str(input)?)
}