| Crates.io | capability-grower-configuration-reconciliation |
| lib.rs | capability-grower-configuration-reconciliation |
| version | 0.1.0 |
| created_at | 2025-07-14 02:57:10.323599+00 |
| updated_at | 2025-07-14 02:57:10.323599+00 |
| description | A Rust library for comparing and reconciling grower skill tree configurations, capturing configuration changes exceeding specified thresholds. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1751011 |
| size | 225,114 |
capability-grower-configuration-reconciliation is a Rust crate designed to facilitate the comparison and reconciliation of hierarchical tree configuration structures typical of skill trees.
The crate provides mechanisms to calculate precise differences, termed ConfigDelta, between two configurations of a grower skill tree. These configuration changes are captured if they exceed user-defined thresholds, represented by DeltaThresholds. This functionality is crucial for systems where precise configuration adaptability and reconciliation are necessary.
DeltaThresholds allow users to define sensitivity ranges for specific feature changes, ensuring only impactful differences are captured.The crate is designed to handle intricate changes in configurations, especially useful for dynamic systems where configurations must be re-evaluated and adjusted safely and efficiently.
use capability_grower_configuration_reconciliation::{compute_config_delta, DeltaThresholds, ComparisonContext};
let config_a = GrowerTreeConfiguration::example();
let config_b = GrowerTreeConfiguration::another_example();
let context = ComparisonContext::new(1000, 50, 25);
let thresholds = DeltaThresholds::strict();
let deltas = compute_config_delta(&config_a, &config_b, &context, &thresholds);
for delta in deltas {
println!("{:?}", delta);
}
The crate leverages sophisticated measures such as strict and loose tolerance configurations for seamless adaptation in diverse environments. Its usage underpins scenarios requiring high fidelity in configuration management.
Disclaimer: This README.md file was generated by an AI model and may not be 100% accurate, yet it should provide a good overview of the crate.