serde_hkx_features/
lib.rs

1pub mod alt_map;
2pub mod convert;
3pub mod diff;
4pub mod dump;
5pub mod error;
6pub mod fs;
7#[cfg(feature = "json_schema")]
8pub mod json_schema_gen;
9pub mod progress;
10pub mod serde;
11#[cfg(feature = "extra_fmt")]
12pub mod serde_extra;
13pub mod tree;
14#[cfg(any(feature = "extra_fmt", feature = "json_schema"))]
15pub mod types_wrapper;
16pub mod verify;
17
18////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19// Module to allow import of the most used and useful APIs in one place.
20// NOTE: Keep it to top-level public because it is not easy to use if prelude as `Result`.
21pub use crate::convert::{OutFormat, tokio::convert};
22pub use crate::error::Result;
23////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
24
25use havok_classes::Classes;
26use indexmap::IndexMap;
27
28/// - key: class index(e.g `1`)
29/// - value: C++ Class
30pub type ClassMap<'a> = IndexMap<usize, Classes<'a>>;
31
32// https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#include-items-only-when-collecting-doctests
33
34#[doc = include_str!("../../../README.md")]
35#[cfg(doctest)]
36pub struct ReadmeDoctests;