| Crates.io | capability-skeleton-string |
| lib.rs | capability-skeleton-string |
| version | 0.1.0 |
| created_at | 2025-07-13 12:02:56.769181+00 |
| updated_at | 2025-07-13 12:02:56.769181+00 |
| description | A robust library for managing skill tree skeletons using string-based nodes and bidirectional conversions between string and numeric formats. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1750430 |
| size | 339,414 |
The capability-skeleton-string crate is a sophisticated tool to construct and manage hierarchical skill trees that can be represented as string-based skeleton structures. It offers a robust framework for defining, manipulating, and converting skill nodes with concrete subcomponents that carry physical significance.
StringSkeletonNode, DispatchChildSpec, and AggregateChildSpec manage node configurations with attributes like probability and ordering.fuzzy_from_json_value implementations for enriched JSON parsing capabilities with data validation and transformation.The primary components of this library include various structs and enums that allow detailed crafting of skill trees with nodes and branches:
StringSkeletonNode: Encapsulates types like Dispatch, LeafHolder, and Aggregate, allowing node distinction by roles and attributes.StringSkeleton: Serves as the container for the entire skeleton configuration.unify_complex_enum_single_variant_inplace: Facilitates the unified processing of complex enums across nested structures.This library mandates the usage of Rust 2024 edition, ensuring modern enhancements and support of the latest mutually intelligent programming paradigms.
use capability_skeleton_string::*;
let mut value = serde_json::from_str("...json...").unwrap();
unify_complex_enum_single_variant_inplace(&mut value);
This readme is generated by an AI model and aims to accurately reflect the capabilities and usage of the crate. While efforts have been made to ensure precision, some details may be subject to interpretation.