Skip to main content

Crate santa_data

Crate santa_data 

Source
Expand description

Santa Data - Data models, configuration, and CCL parser for Santa Package Manager

This crate provides:

  • Core data models (Platform, KnownSources, PackageData, etc.)
  • Configuration loading and management (SantaConfig, ConfigLoader)
  • CCL schema definitions (PackageDefinition, SourceDefinition, etc.)
  • CCL parser that handles both simple and complex formats

Re-exports§

pub use config::*;
pub use models::*;
pub use schemas::*;

Modules§

config
Configuration loading and management for Santa Package Manager
models
schemas

Enums§

CclValue
Represents a parsed CCL value

Functions§

parse_ccl
Parse a CCL document into a CclValue
parse_ccl_to
Parse CCL string and deserialize into a specific type
parse_to_hashmap
Parse CCL string into a HashMap where values can be either arrays or objects