From 3af511bb7c3f5ad2321e9db291e841bd359e79cb Mon Sep 17 00:00:00 2001 From: muzarski Date: Tue, 13 Feb 2024 01:05:25 +0100 Subject: [PATCH] frame/response: pub re-export submodules pub re-exported submodules that contain publicly used types. The submodules re-exported as pub: - scylla_cql::frame::response::cql_to_rust - scylla_cql::frame::response::result The submodules re-exported as pub(crate): - scylla_cql::frame::response::authenticate - scylla_cql::frame::response::error - scylla_cql::frame::response::event - scylla_cql::frame::response::supported --- scylla/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scylla/src/lib.rs b/scylla/src/lib.rs index d2f9e215d9..14d802af29 100644 --- a/scylla/src/lib.rs +++ b/scylla/src/lib.rs @@ -104,7 +104,7 @@ pub use macros::*; pub mod frame { pub use scylla_cql::frame::{ - frame_errors, protocol_features, response, value, Authenticator, Compression, + frame_errors, protocol_features, value, Authenticator, Compression, }; pub(crate) use scylla_cql::frame::{ parse_response_body_extensions, read_response_frame, request, server_event_type, @@ -116,6 +116,11 @@ pub mod frame { pub use scylla_cql::frame::types::*; pub use scylla_cql::frame::types::{Consistency, SerialConsistency}; } + + pub mod response { + pub(crate) use scylla_cql::frame::response::*; + pub use scylla_cql::frame::response::{cql_to_rust, result}; + } } pub use scylla_cql::types::serialize;