1#![warn(unreachable_pub)] extern crate self as icydb;
11
12#[macro_use]
13pub(crate) mod scalar_registry;
14
15pub mod db;
17pub mod error;
18pub mod metrics;
19pub mod model;
20pub mod sanitize;
21pub mod traits;
22pub mod types;
23pub mod validate;
24pub mod value;
25pub mod visitor;
26
27#[cfg(test)]
29pub(crate) mod testing;
30
31pub const MAX_INDEX_FIELDS: usize = 4;
40
41pub mod prelude {
49 pub use crate::{
50 model::{entity::EntityModel, index::IndexModel},
51 traits::{EntityKind, Path},
52 value::{InputValue, OutputValue},
53 };
54}
55
56#[doc(hidden)]
61pub mod __macro {
62 pub use crate::error::InternalError;
63 pub use crate::traits::{
64 EnumValue, FieldProjection, PersistedByKindCodec, PersistedFieldMetaCodec,
65 PersistedStructuredFieldCodec, RuntimeValueDecode, RuntimeValueEncode, RuntimeValueKind,
66 RuntimeValueMeta, runtime_value_btree_map_from_value, runtime_value_btree_set_from_value,
67 runtime_value_collection_to_value, runtime_value_from_value, runtime_value_from_vec_into,
68 runtime_value_from_vec_into_btree_map, runtime_value_from_vec_into_btree_set,
69 runtime_value_into, runtime_value_map_collection_to_value, runtime_value_to_value,
70 runtime_value_vec_from_value,
71 };
72 pub use crate::value::{Value, ValueEnum};
73}