1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// devela/src/sys/_.rs
//
#![doc = crate::_DOC_SYS!()] // public, root
#![doc = crate::_DOC_SYS_MODULES!()]
#![doc = crate::_doc!(flat:"sys")]
#![doc = crate::_doc!(extends: alloc, arch, borrow, boxed, cell, env, fs, mem,
io, net, os, path, pin, ptr, rc, slice)]
//
// safety
#![cfg_attr(feature = "safe_sys", forbid(unsafe_code))]
// docs
crate::CONST! { pub(crate) _DOC_SYS_MODULES =
crate::_doc!(modules: crate; sys: arch, device, env, fs, io, log, mem, net, os, service); // hw
}
crate::mods_in! {
pub mod_ arch; // Architecture-specific intrinsics
// #[cfg(feature = "std")]
// mod bench; // WIP
pub mod_ device; // Live system device interfaces {alsa, x11}
pub mod_ env; // Process environment inspection and manipulation
pub mod_ fs; // Filesystem abstractions
pub mod_ io; // I/O primitives and stream interfaces
mod_ hw; // Low-level hardware and driver-facing system interfaces
pub mod_ log; // Execution timing, measurement, and benchmark instrumentation
pub mod_ mem; // Memory primitives, layout contracts, and safe access foundations
pub mod_ net; // Network connectivity, addressing, routing, and transport
pub mod_ os; // Operating systems and supervisors
pub mod_ service; // Application-level protocols for networked services
}
crate::mods_out! { // _mods, _pub_mods, _crate_internals, _hidden
_mods {
pub use super::{
hw::_all::*,
};
}
_pub_mods {
pub use super::{
arch::_all::*,
device::_all::*,
env::_all::*,
fs::_all::*,
io::_all::*,
log::_all::*,
mem::_all::*,
net::_all::*,
os::_all::*,
service::_all::*,
};
// #[cfg(feature = "std")]
// pub use super::bench::_all::*; // WIP
}
_crate_internals {
pub(crate) use super::_DOC_SYS_MODULES;
pub(crate) use super::{
arch::_crate_internals::*,
device::_crate_internals::*,
// net::_crate_internals::*,
os::_crate_internals::*,
service::_crate_internals::*,
};
}
_hidden {
pub use super::{
mem::_hidden::*,
};
}
}