Skip to main content

yog_data/
lib.rs

1//! Yog Data: Substrate Data (one model, text, binary, frames and schemas)
2//! with Yog's domain declared over it — the kinds of content, tags, mod
3//! resources, translation keys, texts players read, images and colours.
4//! See `docs/design/yog-data.md`.
5//!
6//! Everything of Substrate Data is here as it is (`yog_data::Value`,
7//! `yog_data::Schema`, `yog_data::to_bytes`); Yog's own types are the
8//! modules below.
9
10pub use substrate_data::*;
11
12mod built_in;
13mod color;
14mod content;
15mod expected;
16pub mod export;
17pub mod found;
18mod image;
19mod meaning;
20mod res;
21mod shown;
22mod tag;
23
24pub use built_in::built_in;
25pub use color::Color;
26pub use content::{BlockId, EntityId, ItemId, RecipeId, kinds};
27pub use expected::expected;
28pub use image::Image;
29pub use meaning::Meaning;
30pub use res::{Res, is_key as is_res_key};
31pub use shown::{Lang, Text, TextOf};
32pub use tag::{AnyRefOrTag, ItemIdOrTag, OneOrTag, TagId};