1pub mod aop;
20pub mod component;
21pub mod config;
22pub mod error;
23pub mod lifecycle;
24pub mod registry;
25pub mod scope;
26pub mod store;
27pub mod topology;
28
29pub use dashmap;
31pub use dashmap::DashMap;
32pub use linkme;
33pub use toml;
34pub use toml::Value;
35pub use toml::map;
36
37pub use tx_di_macros::Component; pub use tx_di_macros::intercept; pub use tx_error::{AppErrCode, AppError, AppResult, CodeMsg};
43pub use crate::error::DiErr;
44pub use tx_common::{ApiR, ApiRes, FormattedDateTime, RCode};
45
46pub type RIE<T> = AppResult<T>;
48
49pub use tokio_util::sync::CancellationToken;
50
51pub use component::{BoxFuture, Component, DepsTuple};
53pub use config::AppAllConfig;
54pub use lifecycle::{App, BuildContext, InnerContext, get_sys_config, set_sys_config, CONFIG_PATH};
57pub use registry::{ComponentMeta, COMPONENT_REGISTRY};
58pub use scope::Scope;
59pub use store::{Store, CompRef, TraitImplEntry, TraitImplMap, inject_from_store, inject_trait_from_store, inject_all_traits_from_store};
60pub use topology::topo_sort;
61pub use aop::{CallContext, CallResult, Interceptor, InterceptorChain};
62
63