Crates.io | convo |
lib.rs | convo |
version | 0.1.2 |
source | src |
created_at | 2021-07-04 14:08:10.560687 |
updated_at | 2021-07-04 16:47:41.03235 |
description | A modern dialogue executor and tree parser using YAML, focusing on ease-of-use and speed. |
homepage | https://crates.io/crates/convo |
repository | https://github.com/simbleau/convo |
max_upload_size | |
id | 418594 |
size | 65,073 |
A modern dialogue executor and tree parser using YAML.
This crate is for building(ex), importing/exporting(ex), and walking(ex) dialogue trees.
convo
promises an emphasis on documentation and user-friendliness, but also performance. All retrievals, searches, and side-effects to the conversation tree are in O(1) constant time.
The intent is to safely import and export conversation trees, as well as walk complex conversations easily and efficiently. Conversations resemble a traditional dialogue tree model, and can be cyclic. YAML format makes creating dialogue trees intuitive and easy, even without a formal editor (but a GUI editor will come eventually).
convo
is usable and in active development. Future releases will follow SemVer compatibility.
The easiest way to use convo is by adding the lone dependency to your Cargo.toml
file:
convo = "0.1.0"
Link
s).Node
].Check out these important examples:
Tree
imperatively*.convo.yml
filesTree
For specific rules and formatting information, please check FORMATTING.md
Don't hesitate to file an issue or contact @simbleau by e-mail or @ThomasHoutart by e-mail.
I encourage all contributions by pull request. Please check the issues first if you'd like to help.
The Rust code of conduct applies.
serde-yaml
crate for serialization and deserialization.This project is dual-licensed under both Apache 2.0 and MIT licenses.