Skip to content

Commit 73bbf87

Browse files
committed
response/result: re-export pub types
Re-exported types that should be exposed to users. Re-exported types: - ColumnSpec - ColumnType - CqlValue - PartitionKeyIndex - Row - TableSpec Note for reviewers: As mentioned in #925 (comment), we should not expose the `PreparedMetadata` structure. I believe the same applies to `ResultMetadata`. That's why I decided not to re-export them.
1 parent 8b5cabb commit 73bbf87

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

scylla/src/lib.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,15 @@ pub mod frame {
114114
}
115115

116116
pub mod response {
117+
pub use scylla_cql::frame::response::cql_to_rust;
117118
pub(crate) use scylla_cql::frame::response::*;
118-
pub use scylla_cql::frame::response::{cql_to_rust, result};
119+
120+
pub mod result {
121+
pub(crate) use scylla_cql::frame::response::result::*;
122+
pub use scylla_cql::frame::response::result::{
123+
ColumnSpec, ColumnType, CqlValue, PartitionKeyIndex, Row, TableSpec,
124+
};
125+
}
119126
}
120127
}
121128

0 commit comments

Comments
 (0)