Skip to content

Commit

Permalink
frame: re-export ProtocolFeatures
Browse files Browse the repository at this point in the history
Integration tests make use of
scylla_cql::frame::protocol_features::ProtocolFeatures.
This struct needs to be pub re-exported, but we hide it in the docs.
  • Loading branch information
muzarski committed Feb 15, 2024
1 parent b1d5039 commit e2124ad
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scylla/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ pub mod macros;
pub use macros::*;

pub mod frame {
pub use scylla_cql::frame::{
frame_errors, protocol_features, value, Authenticator, Compression,
};
pub use scylla_cql::frame::{frame_errors, value, Authenticator, Compression};
pub(crate) use scylla_cql::frame::{
parse_response_body_extensions, read_response_frame, request, server_event_type,
FrameParams, SerializedRequest,
Expand All @@ -128,6 +126,11 @@ pub mod frame {
};
}
}

#[doc(hidden)]
pub mod protocol_features {
pub use scylla_cql::frame::protocol_features::ProtocolFeatures;
}
}

pub use scylla_cql::types::serialize;
Expand Down

0 comments on commit e2124ad

Please sign in to comment.