From 78c0c3376b71c31c6fabfe97c1b39c20ace1668a Mon Sep 17 00:00:00 2001 From: muzarski Date: Tue, 13 Feb 2024 00:40:21 +0100 Subject: [PATCH] frame: pub re-export submodules Pub re-exported the structs of scylla_cql::frame module and its submodules that contain any of the symbols that should be exposed publicly. This means that the following submodules will be private: - scylla_cql::frame::request - scylla_cql::frame::server_event_type --- scylla/src/lib.rs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scylla/src/lib.rs b/scylla/src/lib.rs index 381fad34d3..d911509658 100644 --- a/scylla/src/lib.rs +++ b/scylla/src/lib.rs @@ -102,7 +102,16 @@ pub mod macros; #[doc(inline)] pub use macros::*; -pub use scylla_cql::frame; +pub mod frame { + pub use scylla_cql::frame::{ + frame_errors, protocol_features, response, types, value, Authenticator, Compression, + }; + pub(crate) use scylla_cql::frame::{ + parse_response_body_extensions, read_response_frame, request, server_event_type, + FrameParams, SerializedRequest, + }; +} + pub use scylla_cql::types::serialize; pub mod authentication;