shakrs-json-parser 0.1.0

Parser, validator, scaffolder, and canonical formatter for the shakrs.json workspace config. Zero I/O; no policy-registry knowledge.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Parse error type.

/// Why parsing `shakrs.json` failed.
#[derive(Debug, Clone)]
pub enum ConfigParseError {
    /// Not valid JSON, or valid JSON that violates the schema.
    Schema(String),
    /// Parsed and schema-valid, but a semantic rule failed.
    Semantic(String),
}