#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(unused_imports)]
#[macro_use]
pub mod macros;
pub mod mod_rpc;
pub mod mod_pool;
pub mod mod_state;
pub mod mod_timer;
pub mod mod_tool;
pub mod mod_demo;
pub use anyhow;
pub use serde;
pub use serde_json;
pub use futures;
pub use futures_lite; pub use async_channel;
pub use crossbeam_channel;
pub use chrono;
pub use uuid;
pub use lwleen_macro;
pub mod prelude{
pub use std::{
borrow::Cow,
sync::{ Arc, atomic::{ AtomicBool,AtomicUsize,AtomicU64,Ordering}}, boxed::Box, pin::Pin, any::{ Any },
cell::{ Cell, RefCell }, collections::{HashMap,HashSet},
};
pub use dashmap::{ DashMap,DashSet};
pub use anyhow::{ Error as anyhow_Error, Result as anyhow_Result, anyhow as anyhow_err, Ok as anyhow_Ok };
pub use once_cell::sync::{OnceCell, Lazy}; pub use parking_lot::{ Mutex, RwLock, Condvar, Once}; pub use serde::{ Serialize, Deserialize };
pub use serde_json::{ json, Value, from_value, from_str, from_slice };
pub use futures::{ join, try_join, select, channel::oneshot };
pub use async_lock::{ Mutex as async_Mutex, RwLock as async_RwLock };
pub use async_channel::{
Receiver as async_Receiver,Sender as async_Sender, bounded as async_bounded, unbounded as async_unbounded,
};
pub use futures_lite::future::block_on as block_on_lite;
pub use futures_timer::Delay;
pub use lwleen_macro::{ gen_特征_derive, EnumDisplay };
pub use crate::{
cfg_if, cfg_多行特性,
match取出,
impl信令特征,
core发布信令任务,
anyhow_Ok信令, anyhow_Err信令,
join_path,
};
pub use crate::mod_tool::{
全局_启动时间,全局_CPU数量,
TIME时间, 线程同步控制,
原子ID, 原子ID对象,
};
pub use crate::mod_rpc::{
rpc类型,
信令路由,
信令任务Builder, 信令任务,
Box信令特征, 信令特征, 信令异步执行函数,
信令ID, 信令发送包,
rpc路由状态,
定时器,
};
pub use crate::mod_pool::{ ThreadPool, Builder as ThreadPool_Builder };
pub use crate::mod_state::{ StateManager, State };
pub use crate::mod_timer::{ Timeout限时特征 };
}