devela/data/
mod.rs

1// devela::data
2//
3//! Data handling and manipulation.
4#![doc = crate::doc_!(modules: crate; data: codec, error, iter, key, list, table, uid, xipher)]
5#![doc = crate::doc_!(newline)]
6//!
7#![doc = crate::doc_!(extends: array, collections, hash, iter, vec)]
8//
9// safety
10#![cfg_attr(feature = "safe_data", forbid(unsafe_code))]
11
12mod absence; // NoData
13mod collection;
14mod sort;
15
16pub mod codec;
17pub mod error; // data-related errors
18pub mod iter;
19pub mod key;
20pub mod list;
21pub mod table;
22pub mod uid;
23pub mod xipher; // cryptography
24
25#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "unsafe_layout")))]
26#[cfg_attr(not(feature = "__force_miri_dst"), cfg(not(miri)))]
27#[cfg(all(not(any(feature = "safe_data", feature = "safe_mem")), feature = "unsafe_layout"))]
28pub mod dst;
29
30crate::items! { // structural access: _mods, _pub_mods, _internals, _all, _always
31    #[allow(unused)]
32    pub use {_mods::*, _internals::*};
33    #[allow(unused)] #[doc(hidden, no_inline)]
34    pub use {_always::*, _pub_mods::*};
35
36    mod _mods { #![allow(unused)]
37        pub use super::{absence::*, collection::*, sort::_all::*};
38    }
39    mod _pub_mods { #![allow(unused)]
40        pub use super::{
41            codec::_all::*, error::_all::*, iter::_all::*, key::_all::*, list::_all::*,
42            table::_all::*, uid::_all::*, xipher::_all::*,
43        };
44
45        #[cfg_attr(not(feature = "__force_miri_dst"), cfg(not(miri)))]
46        #[cfg(all(
47            not(any(feature = "safe_data", feature = "safe_mem")),
48            feature = "unsafe_layout"
49        ))]
50        pub use super::dst::_all::*;
51
52        // WIPZONE
53        // pub use super::pool::*;
54        // pub use super::view::*;
55        // #[cfg(_graph··)]
56        // pub use super::graph::*;
57        // #[cfg(_node··)]
58        // pub use super::node::*;
59    }
60    pub(super) mod _internals { #![allow(unused)]
61        pub(crate) use super::table::_internals::*;
62    }
63    pub(super) mod _all { #![allow(unused)]
64        #[doc(inline)]
65        pub use super::{_pub_mods::*, _mods::*};
66    }
67    pub(super) mod _always { #![allow(unused)]
68        pub use super::{
69            codec::_always::*, collection::*, error::_all::*, iter::_always::*, list::_always::*,
70        };
71    }
72}
73// WIPZONE
74// mod pool;
75// mod view;
76// #[cfg(_graph··)]
77// pub mod graph;
78// #[cfg(_node··)]
79// pub mod node;