From 7440d3d1d516f839abc6436abc626540543eb03a Mon Sep 17 00:00:00 2001 From: muzarski Date: Wed, 15 May 2024 13:53:42 +0200 Subject: [PATCH] macros: rename module cql to value --- scylla-macros/src/lib.rs | 2 +- scylla-macros/src/serialize/mod.rs | 2 +- scylla-macros/src/serialize/{cql.rs => value.rs} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename scylla-macros/src/serialize/{cql.rs => value.rs} (100%) 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