pub mod sync { pub use super::sync_pre::*; pub use std::sync::mpsc::{Receiver, SyncSender as Sender}; pub mod chan { pub use std::sync::mpsc::sync_channel as bounded; } } pub mod asyn { pub use super::sync_pre::*; pub mod chan { pub use tokio::sync::mpsc::unbounded_channel as unbounded; } pub use tokio::sync::mpsc::{UnboundedReceiver as Receiver, UnboundedSender as Sender}; } mod sync_pre { pub mod task { pub use super::super::policies::task::Runtime; pub use tokio::{task::*, time::sleep}; } pub use super::policies::task::{pre::*, Task}; pub use std::sync::{atomic::*, Barrier, Mutex, MutexGuard, OnceLock}; pub use std::thread::{self, JoinHandle}; } #[cfg(not(feature = "adv_fs"))] pub mod ser {} #[cfg(feature = "adv_fs")] pub mod ser { pub mod SERDE { pub use bincode::{deserialize as FromVec, serialize as ToVec}; pub use serde_json::{from_str as FromStr, to_string as ToStr, to_vec as ToU8}; } pub use serde::{de, Deserialize, Deserializer, Serialize, Serializer}; } pub mod stdlib { pub use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecDeque}; 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}; pub use std::{cmp::Ordering as ord, marker::PhantomData as Dummy, mem::size_of as type_size}; } pub mod lib { pub use super::{policies::ext::*, policies::pre::*, stdlib::*, GL, GL::types::*}; pub use bitflags::bitflags; } pub mod math { pub use super::policies::math::{ext::*, la, la::na}; } pub mod GL { pub use super::opengl::{event, pre::*, window}; } pub mod text_color { pub mod term { pub mod term_color { pub use yansi::disable; pub use yansi::enable; } pub use yansi::Paint as text_color_prelude; } } pub use policies::ext::*; #[macro_use] mod policies; #[macro_use] mod opengl;