From 753c76be9d0f7811d123c4e6f5fe679b0d40d2c1 Mon Sep 17 00:00:00 2001 From: yew1eb Date: Wed, 11 Feb 2026 18:56:38 +0800 Subject: [PATCH] [AURON #2003] Extract common package configs to workspace Cargo.toml --- Cargo.toml | 5 +++++ native-engine/auron-jni-bridge/Cargo.toml | 6 +++--- native-engine/auron-memmgr/Cargo.toml | 7 ++++--- native-engine/auron-planner/Cargo.toml | 7 ++++--- native-engine/auron/Cargo.toml | 6 +++--- native-engine/datafusion-ext-commons/Cargo.toml | 6 +++--- native-engine/datafusion-ext-exprs/Cargo.toml | 6 +++--- native-engine/datafusion-ext-functions/Cargo.toml | 6 +++--- native-engine/datafusion-ext-plans/Cargo.toml | 6 +++--- 9 files changed, 31 insertions(+), 24 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 126597140..a0e030f3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,11 @@ members = [ "native-engine/auron-memmgr", ] +[workspace.package] +version = "0.1.0" +license = "Apache-2.0" +edition = "2024" + [workspace.lints.rust] # Pending processing (temporarily allow) unused_variables = "allow" diff --git a/native-engine/auron-jni-bridge/Cargo.toml b/native-engine/auron-jni-bridge/Cargo.toml index eccd41ecd..e9e7226a6 100644 --- a/native-engine/auron-jni-bridge/Cargo.toml +++ b/native-engine/auron-jni-bridge/Cargo.toml @@ -17,9 +17,9 @@ [package] name = "auron-jni-bridge" -version = "0.1.0" -license = "Apache-2.0" -edition = "2024" +version = { workspace = true } +license = { workspace = true } +edition = { workspace = true } resolver = "1" [lints] workspace = true diff --git a/native-engine/auron-memmgr/Cargo.toml b/native-engine/auron-memmgr/Cargo.toml index fe0b84eb7..ed701ab88 100644 --- a/native-engine/auron-memmgr/Cargo.toml +++ b/native-engine/auron-memmgr/Cargo.toml @@ -17,9 +17,10 @@ [package] name = "auron-memmgr" -version = "0.1.0" -license = "Apache-2.0" -edition = "2024" +version = { workspace = true } +license = { workspace = true } +edition = { workspace = true } +resolver = "1" [lints] workspace = true diff --git a/native-engine/auron-planner/Cargo.toml b/native-engine/auron-planner/Cargo.toml index e39553d45..5a98c9fdb 100644 --- a/native-engine/auron-planner/Cargo.toml +++ b/native-engine/auron-planner/Cargo.toml @@ -17,9 +17,10 @@ [package] name = "auron-planner" -version = "0.1.0" -license = "Apache-2.0" -edition = "2024" +version = { workspace = true } +license = { workspace = true } +edition = { workspace = true } +resolver = "1" [lints] workspace = true diff --git a/native-engine/auron/Cargo.toml b/native-engine/auron/Cargo.toml index f0eab0e5a..8d38d2954 100644 --- a/native-engine/auron/Cargo.toml +++ b/native-engine/auron/Cargo.toml @@ -17,9 +17,9 @@ [package] name = "auron" -version = "0.1.0" -license = "Apache-2.0" -edition = "2024" +version = { workspace = true } +license = { workspace = true } +edition = { workspace = true } resolver = "1" [lints] workspace = true diff --git a/native-engine/datafusion-ext-commons/Cargo.toml b/native-engine/datafusion-ext-commons/Cargo.toml index c5d7ed2d0..7bd229db9 100644 --- a/native-engine/datafusion-ext-commons/Cargo.toml +++ b/native-engine/datafusion-ext-commons/Cargo.toml @@ -17,9 +17,9 @@ [package] name = "datafusion-ext-commons" -version = "0.1.0" -license = "Apache-2.0" -edition = "2024" +version = { workspace = true } +license = { workspace = true } +edition = { workspace = true } resolver = "1" [lints] workspace = true diff --git a/native-engine/datafusion-ext-exprs/Cargo.toml b/native-engine/datafusion-ext-exprs/Cargo.toml index e59a71825..7240b2ece 100644 --- a/native-engine/datafusion-ext-exprs/Cargo.toml +++ b/native-engine/datafusion-ext-exprs/Cargo.toml @@ -17,9 +17,9 @@ [package] name = "datafusion-ext-exprs" -version = "0.1.0" -license = "Apache-2.0" -edition = "2024" +version = { workspace = true } +license = { workspace = true } +edition = { workspace = true } resolver = "1" [lints] workspace = true diff --git a/native-engine/datafusion-ext-functions/Cargo.toml b/native-engine/datafusion-ext-functions/Cargo.toml index 39bf352d7..ffaac79ec 100644 --- a/native-engine/datafusion-ext-functions/Cargo.toml +++ b/native-engine/datafusion-ext-functions/Cargo.toml @@ -17,9 +17,9 @@ [package] name = "datafusion-ext-functions" -version = "0.1.0" -license = "Apache-2.0" -edition = "2024" +version = { workspace = true } +license = { workspace = true } +edition = { workspace = true } resolver = "1" [lints] workspace = true diff --git a/native-engine/datafusion-ext-plans/Cargo.toml b/native-engine/datafusion-ext-plans/Cargo.toml index bdc556162..d47e81f39 100644 --- a/native-engine/datafusion-ext-plans/Cargo.toml +++ b/native-engine/datafusion-ext-plans/Cargo.toml @@ -17,9 +17,9 @@ [package] name = "datafusion-ext-plans" -version = "0.1.0" -license = "Apache-2.0" -edition = "2024" +version = { workspace = true } +license = { workspace = true } +edition = { workspace = true } resolver = "1" [lints] workspace = true