Skip to content

Commit

Permalink
frame: pub re-export submodules
Browse files Browse the repository at this point in the history
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
  • Loading branch information
muzarski committed Feb 15, 2024
1 parent 29f6744 commit 78c0c33
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scylla/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 78c0c33

Please sign in to comment.