Skip to main content

devela_base_alloc/
index.rs

1// devela_base_alloc::index
2//
3//!
4//
5
6/* crate configuration */
7//
8// lints
9// #![allow(unexpected_cfgs)]
10//
11// environment
12#![cfg_attr(not(feature = "__std"), no_std)]
13// safety
14#![cfg_attr(feature = "safe", forbid(unsafe_code))]
15// nightly
16#![cfg_attr(nightly_doc, feature(doc_cfg, doc_notable_trait))]
17#![cfg_attr(all(nightly_doc, miri), allow(unused_attributes))]
18#![cfg_attr(all(nightly_doc, not(doc)), allow(unused_attributes))]
19// #![cfg_attr(nightly_allocator, feature(allocator_api))]
20// #![cfg_attr(nightly_autodiff, feature(autodiff))] // FLAG_DISABLED:nightly_autodiff
21// #![cfg_attr(nightly_become, feature(explicit_tail_calls))] // WARN:incomplete_features
22// #![cfg_attr(nightly_coro, feature(coroutines, coroutine_trait, iter_from_coroutine))]
23// #![cfg_attr(nightly_float, feature(f16, f128))]
24// #![cfg_attr(nightly_simd, feature(portable_simd))]
25
26extern crate alloc;
27// NOTE: for testing purposes only
28#[cfg(feature = "__std")]
29extern crate std;
30
31extern crate self as devela_base_alloc;
32macro_rules! __crate_name {
33    () => {
34        "devela_base_alloc"
35    };
36}
37#[allow(unused_imports)]
38pub(crate) use __crate_name;
39
40#[cfg(feature = "alloc")]
41items! {
42    pub mod code;
43    pub mod data;
44    pub mod geom;
45    pub mod lang;
46    pub mod media;
47    pub mod num;
48    pub mod phys;
49    pub mod run;
50    pub mod sys;
51    pub mod text;
52    pub mod ui;
53    pub mod work;
54}
55// internal:
56pub mod yard;
57#[doc(hidden)]
58pub use yard::_dep;
59//
60// mod _doc;
61
62#[doc(hidden)]
63#[allow(unused_imports)]
64pub use zall::*;
65pub mod zall {
66    //! All the crate's items flat re-exported.
67    //! <br/><hr>
68    //!
69    //! Note that these items are already re-exported (hidden) from the root,
70    //! as is every other public module's contents from their parent.
71    #[allow(unused_imports)]
72    #[rustfmt::skip]
73    #[doc(inline)]
74    #[cfg(feature = "alloc")]
75    pub use super::{
76        code::_all::*,
77        data::_all::*,
78        geom::_all::*,
79        lang::_all::*,
80        media::_all::*,
81        num::_all::*,
82        phys::_all::*,
83        run::_all::*,
84        sys::_all::*,
85        text::_all::*,
86        ui::_all::*,
87        work::_all::*,
88    };
89}
90
91// private, internal items
92#[allow(unused_imports)]
93pub(crate) use _crate_internals::*;
94mod _crate_internals {
95    #[rustfmt::skip]
96    #[cfg(feature = "alloc")]
97    pub(crate) use super::{
98        code::_crate_internals::*,
99        data::_crate_internals::*,
100        geom::_crate_internals::*,
101        lang::_crate_internals::*,
102        media::_crate_internals::*,
103        num::_crate_internals::*,
104        phys::_crate_internals::*,
105        run::_crate_internals::*,
106        sys::_crate_internals::*,
107        text::_crate_internals::*,
108        ui::_crate_internals::*,
109        work::_crate_internals::*,
110    };
111}
112
113#[allow(unused_imports)]
114#[doc(hidden)] #[rustfmt::skip]
115pub use _workspace_internals::*;
116#[doc(hidden)] #[rustfmt::skip]
117pub mod _workspace_internals {
118    #![allow(unused_imports)]
119    pub use devela_base_core::zall::*;
120    pub use devela_base_core::_workspace_internals::*;
121}