solverforge-config 0.8.1

Configuration system for SolverForge constraint solver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

// Score director configuration.
#[derive(Debug, Clone, Default, Deserialize, Serialize)]
#[serde(rename_all = "snake_case")]
pub struct DirectorConfig {
    // Fully qualified name of the constraint provider type.
    pub constraint_provider: Option<String>,

    // Whether to enable constraint matching assertions.
    #[serde(default)]
    pub constraint_match_enabled: bool,
}