diff --git a/scylla-macros/src/lib.rs b/scylla-macros/src/lib.rs index 0b6fd58ca2..5022f09f15 100644 --- a/scylla-macros/src/lib.rs +++ b/scylla-macros/src/lib.rs @@ -14,7 +14,7 @@ mod serialize; /// This is because of rustdocs limitations that are hard to explain here. #[proc_macro_derive(SerializeValue, attributes(scylla))] pub fn serialize_value_derive(tokens_input: TokenStream) -> TokenStream { - match serialize::cql::derive_serialize_value(tokens_input) { + match serialize::value::derive_serialize_value(tokens_input) { Ok(t) => t.into_token_stream().into(), Err(e) => e.into_compile_error().into(), } diff --git a/scylla-macros/src/serialize/mod.rs b/scylla-macros/src/serialize/mod.rs index 28c8b91097..b9c1fa9853 100644 --- a/scylla-macros/src/serialize/mod.rs +++ b/scylla-macros/src/serialize/mod.rs @@ -1,7 +1,7 @@ use darling::FromMeta; -pub(crate) mod cql; pub(crate) mod row; +pub(crate) mod value; #[derive(Copy, Clone, PartialEq, Eq, Default)] enum Flavor { diff --git a/scylla-macros/src/serialize/cql.rs b/scylla-macros/src/serialize/value.rs similarity index 100% rename from scylla-macros/src/serialize/cql.rs rename to scylla-macros/src/serialize/value.rs