1 unstable release
Uses new Rust 2024
| 0.1.0 | Jul 13, 2025 |
|---|
#11 in #skilltree
332 downloads per month
Used in 36 crates
47KB
107 lines
Grower Skill Tree 3p
Grower Skill Tree 3p is a Rust library designed to facilitate the creation and manipulation of skill trees catered to interactive growth environments, such as games or educational platforms. This crate is optimized for algorithmic robustness and concurrency, providing an efficient framework to simulate and manage complex skill progression and unlockables.
Features
- Hierarchical Skill Structures: Build complex, interlinked skill trees with dynamic dependencies.
- Concurrent Update Management: Leverage Rust's concurrency model for efficient, parallel skill state advancements.
- Customizable Growth Paths: Define unique growth algorithms and rules to suit your application needs, supporting diverse skill development scenarios.
- Integration: Works seamlessly with game engines and interactive platforms to extend functionality with minimal overhead.
Usage
Add the following to your Cargo.toml:
[dependencies]
capability-3p = "0.1.0"
Example
use capability_3p::{SkillTree, SkillNode};
fn main() {
let mut skill_tree = SkillTree::new();
skill_tree.add_node(SkillNode::new("Fundamentals", vec!["Intro to Growing"]));
skill_tree.add_node(SkillNode::new("Advanced Techniques", vec!["SP Growth Optimization"]));
skill_tree.advance("Fundamentals");
println!("Progress: {}", skill_tree.get_progress("Advanced Techniques"));
}
Contributing
We welcome open-source contributions. Please check our contribution guidelines for more details on how you can help.
This README.md file was generated by an AI model and may not be 100% accurate, however it should be pretty good.
Dependencies
~48–90MB
~1.5M SLoC