Skip to content

Commit 64470f7

Browse files
committed
scylla-cql: Inline macros module
This module is now so small it doesn't make much sens to keep it in separate file.
1 parent f6b9ee1 commit 64470f7

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

scylla-cql/src/lib.rs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
pub mod errors;
22
pub mod frame;
33
#[macro_use]
4-
pub mod macros;
4+
pub mod macros {
5+
pub use scylla_macros::FromRow;
6+
pub use scylla_macros::FromUserType;
7+
pub use scylla_macros::IntoUserType;
8+
pub use scylla_macros::SerializeCql;
9+
pub use scylla_macros::SerializeRow;
10+
pub use scylla_macros::ValueList;
11+
12+
// Reexports for derive(IntoUserType)
13+
pub use bytes::{BufMut, Bytes, BytesMut};
14+
15+
pub use crate::impl_from_cql_value_from_method;
16+
}
517

618
pub mod types;
719

scylla-cql/src/macros.rs

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)