1pub mod sync {
2 pub use super::sync_pre::*;
3 pub use std::sync::mpsc::{Receiver, SyncSender as Sender};
4 pub mod chan {
5 pub use std::sync::mpsc::sync_channel as bounded;
6 }
7}
8pub mod asyn {
9 pub use super::sync_pre::*;
10 pub mod chan {
11 pub use tokio::sync::mpsc::unbounded_channel as unbounded;
12 }
13 pub use tokio::sync::mpsc::{UnboundedReceiver as Receiver, UnboundedSender as Sender};
14}
15mod sync_pre {
16 pub mod task {
17 pub use super::super::policies::task::Runtime;
18 pub use tokio::{task::*, time::sleep};
19 }
20 pub use super::policies::task::{pre::*, Task};
21 pub use std::sync::{atomic::*, Barrier, Mutex, MutexGuard, OnceLock};
22 pub use std::thread::{self, JoinHandle};
23}
24#[cfg(not(feature = "adv_fs"))]
25pub mod ser {}
26#[cfg(feature = "adv_fs")]
27pub mod ser {
28 pub mod SERDE {
29 pub use bincode::{deserialize as FromVec, serialize as ToVec};
30 pub use serde_json::{from_str as FromStr, to_string as ToStr, to_vec as ToU8};
31 }
32 pub use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
33}
34pub mod stdlib {
35 pub use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecDeque};
36 pub use std::{borrow::Borrow, cell::Cell, char, fmt, fmt::Debug, iter, mem, ops, ops::Range, ptr, rc::Rc, rc::Weak, slice, sync::Arc, time};
37 pub use std::{cmp::Ordering as ord, marker::PhantomData as Dummy, mem::size_of as type_size};
38}
39pub mod lib {
40 pub use super::{policies::ext::*, policies::pre::*, stdlib::*, GL, GL::types::*};
41 pub use bitflags::bitflags;
42}
43pub mod math {
44 pub use super::policies::math::{ext::*, la, la::na};
45}
46pub mod GL {
47 pub use super::opengl::{event, pre::*, window};
48}
49pub mod text_color {
50 pub mod term {
51 pub mod term_color {
52 pub use yansi::disable;
53 pub use yansi::enable;
54 }
55 pub use yansi::Paint as text_color_prelude;
56 }
57}
58
59pub use policies::ext::*;
60
61#[macro_use]
62mod policies;
63#[macro_use]
64mod opengl;