chara_card

chara_card provides thick (not yet...) abstraction layer on
character card formats and .charx in Rust.
Its primary goal is to help programs to run the same format everywhere with same behaviour.
Features
(De)serialization/Validation:
- Full Standard Compliance
- Content parsing
- Decorator parser
- Curly Braced Syntaxes (CBS) parser
- Non-standard field compatibility
- RisuAI (testing...)
Evaluation:
- Content evaluation
- Decorator evaluator
- CBS evaluator
- Non-standard extension compatibility
- RisuAI
Packaging:
- Extracting from
.charx - Packaging to
.charx
Usage
Add chara_card to your dependencies in Cargo.toml.
Parse card.json:
use CharacterCard;
Extract from .charx:
Warning
Currently,
charxmodule is unstable and API may be changed in future.
use CharX;
License
Licensed under Apache License, Version 2.0.