From 3618cfedc9b885fba293f66b58d5c73e9f68a8c9 Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Sat, 7 Dec 2024 22:13:56 +0100 Subject: [PATCH] chore: macros crate cleanup (#13685) * Remove unused dependencies from macros crate * rename macro lib to user_doc --- datafusion-cli/Cargo.lock | 1 - datafusion/macros/Cargo.toml | 4 ++-- datafusion/macros/src/{lib.rs => user_doc.rs} | 0 3 files changed, 2 insertions(+), 3 deletions(-) rename datafusion/macros/src/{lib.rs => user_doc.rs} (100%) diff --git a/datafusion-cli/Cargo.lock b/datafusion-cli/Cargo.lock index c871b2fdda08..015bc1e0c382 100644 --- a/datafusion-cli/Cargo.lock +++ b/datafusion-cli/Cargo.lock @@ -1517,7 +1517,6 @@ dependencies = [ name = "datafusion-macros" version = "43.0.0" dependencies = [ - "datafusion-doc", "proc-macro2", "quote", "syn", diff --git a/datafusion/macros/Cargo.toml b/datafusion/macros/Cargo.toml index c5ac9d08dffa..07aa07fa927a 100644 --- a/datafusion/macros/Cargo.toml +++ b/datafusion/macros/Cargo.toml @@ -32,11 +32,11 @@ workspace = true [lib] name = "datafusion_macros" -path = "src/lib.rs" +# lib.rs to be re-added in the future +path = "src/user_doc.rs" proc-macro = true [dependencies] -datafusion-doc = { workspace = true } proc-macro2 = "1.0" quote = "1.0.37" syn = { version = "2.0.79", features = ["full"] } diff --git a/datafusion/macros/src/lib.rs b/datafusion/macros/src/user_doc.rs similarity index 100% rename from datafusion/macros/src/lib.rs rename to datafusion/macros/src/user_doc.rs