@@ -22,6 +22,7 @@ pub mod __private {
2222pub mod core {
2323 pub use rustapi_core:: collect_auto_routes;
2424 pub use rustapi_core:: validation:: Validatable ;
25+ pub use rustapi_core:: EventBus ;
2526 pub use rustapi_core:: {
2627 delete, delete_route, get, get_route, patch, patch_route, post, post_route, put, put_route,
2728 route, serve_dir, sse_response, ApiError , AsyncValidatedJson , Body , BodyLimitLayer ,
@@ -33,7 +34,6 @@ pub mod core {
3334 RustApi , RustApiConfig , Sse , SseEvent , State , StaticFile , StaticFileConfig , StatusCode ,
3435 StreamBody , TracingLayer , Typed , TypedPath , UploadedFile , ValidatedJson , WithStatus ,
3536 } ;
36- pub use rustapi_core:: EventBus ;
3737
3838 pub use rustapi_core:: get_environment;
3939
@@ -271,6 +271,7 @@ pub use rustapi_extras::timeout;
271271
272272/// Prelude module: `use rustapi_rs::prelude::*`.
273273pub mod prelude {
274+ pub use crate :: core:: EventBus ;
274275 pub use crate :: core:: Validatable ;
275276 pub use crate :: core:: {
276277 delete, delete_route, get, get_route, patch, patch_route, post, post_route, put, put_route,
@@ -282,7 +283,6 @@ pub mod prelude {
282283 StaticFileConfig , StatusCode , StreamBody , TracingLayer , Typed , TypedPath , UploadedFile ,
283284 ValidatedJson , WithStatus ,
284285 } ;
285- pub use crate :: core:: EventBus ;
286286
287287 #[ cfg( any( feature = "core-compression" , feature = "compression" ) ) ]
288288 pub use crate :: core:: { CompressionAlgorithm , CompressionConfig , CompressionLayer } ;
0 commit comments