Skip to content

Commit 8b5cabb

Browse files
committed
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
1 parent 3c9013c commit 8b5cabb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scylla/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub mod macros;
103103
pub use macros::*;
104104

105105
pub mod frame {
106-
pub use scylla_cql::frame::{frame_errors, response, value, Authenticator, Compression};
106+
pub use scylla_cql::frame::{frame_errors, value, Authenticator, Compression};
107107
pub(crate) use scylla_cql::frame::{
108108
parse_response_body_extensions, protocol_features, read_response_frame, request,
109109
server_event_type, FrameParams, SerializedRequest,
@@ -112,6 +112,11 @@ pub mod frame {
112112
pub mod types {
113113
pub use scylla_cql::frame::types::{Consistency, SerialConsistency};
114114
}
115+
116+
pub mod response {
117+
pub(crate) use scylla_cql::frame::response::*;
118+
pub use scylla_cql::frame::response::{cql_to_rust, result};
119+
}
115120
}
116121

117122
pub use scylla_cql::types::serialize;

0 commit comments

Comments
 (0)