Skip to content

Commit

Permalink
Export serialization migration macros
Browse files Browse the repository at this point in the history
Those macros were accidentally not exported due to different scoping
and exporting rules between macros and normal items.
  • Loading branch information
Lorak-mmk committed Oct 14, 2024
1 parent eb14ca8 commit bde71be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scylla-cql/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ pub mod macros {
pub use bytes::{BufMut, Bytes, BytesMut};

pub use crate::impl_from_cql_value_from_method;

pub use crate::impl_serialize_row_via_value_list;
pub use crate::impl_serialize_value_via_value;
}

pub mod types;
Expand Down
3 changes: 3 additions & 0 deletions scylla/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,5 +470,8 @@ pub use scylla_cql::macros::ValueList;

pub use scylla_cql::macros::impl_from_cql_value_from_method;

pub use scylla_cql::macros::impl_serialize_row_via_value_list;
pub use scylla_cql::macros::impl_serialize_value_via_value;

// Reexports for derive(IntoUserType)
pub use bytes::{BufMut, Bytes, BytesMut};

0 comments on commit bde71be

Please sign in to comment.