This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 18e66def5 chore(rust): include more metadata fields in Cargo manifests
(#2472)
18e66def5 is described below
commit 18e66def55d53f11a49fa0bb51bae04f726db5f0
Author: Matthijs Brobbel <[email protected]>
AuthorDate: Wed Jan 22 01:40:01 2025 +0100
chore(rust): include more metadata fields in Cargo manifests (#2472)
Closes #2469.
---
rust/core/Cargo.toml | 23 ++++++++++++++++-------
rust/driver/datafusion/Cargo.toml | 15 +++++++++++----
rust/driver/dummy/Cargo.toml | 9 +++++----
rust/driver/snowflake/Cargo.toml | 6 +++---
4 files changed, 35 insertions(+), 18 deletions(-)
diff --git a/rust/core/Cargo.toml b/rust/core/Cargo.toml
index 02c6ec950..c2e0f66af 100644
--- a/rust/core/Cargo.toml
+++ b/rust/core/Cargo.toml
@@ -14,13 +14,25 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+
[package]
name = "adbc_core"
description = "Public abstract API, driver manager and driver exporter"
-version = { workspace = true }
-edition = { workspace = true }
-authors = { workspace = true }
-license = { workspace = true }
+version.workspace = true
+edition.workspace = true
+rust-version.workspace = true
+authors.workspace = true
+license.workspace = true
+readme = "../README.md"
+documentation.workspace = true
+homepage.workspace = true
+repository.workspace = true
+keywords.workspace = true
+categories.workspace = true
+
+[features]
+default = []
+driver_manager = ["dep:libloading"]
[dependencies]
arrow-array.workspace = true
@@ -29,6 +41,3 @@ libloading = { version = "0.8", optional = true }
[dev-dependencies]
arrow-select.workspace = true
-
-[features]
-driver_manager = ["dep:libloading"]
diff --git a/rust/driver/datafusion/Cargo.toml
b/rust/driver/datafusion/Cargo.toml
index 4bbfa4981..414e0d02a 100644
--- a/rust/driver/datafusion/Cargo.toml
+++ b/rust/driver/datafusion/Cargo.toml
@@ -18,10 +18,17 @@
[package]
name = "adbc_datafusion"
description = "ADBC driver for Apache DataFusion"
-version = { workspace = true }
-edition = { workspace = true }
-authors = { workspace = true }
-license = { workspace = true }
+version.workspace = true
+edition.workspace = true
+rust-version.workspace = true
+authors.workspace = true
+license.workspace = true
+readme.workspace = true
+documentation = "http://docs.rs/adbc_datafusion/"
+homepage.workspace = true
+repository.workspace = true
+keywords.workspace = true
+categories.workspace = true
[dependencies]
adbc_core = { path = "../../core" }
diff --git a/rust/driver/dummy/Cargo.toml b/rust/driver/dummy/Cargo.toml
index ec690af84..e63637dab 100644
--- a/rust/driver/dummy/Cargo.toml
+++ b/rust/driver/dummy/Cargo.toml
@@ -18,10 +18,11 @@
[package]
name = "adbc_dummy"
description = "A dummy ADBC driver for testing purposes"
-version = { workspace = true }
-edition = { workspace = true }
-authors = { workspace = true }
-license = { workspace = true }
+version.workspace = true
+edition.workspace = true
+rust-version.workspace = true
+license.workspace = true
+publish = false
[dependencies]
adbc_core = { path = "../../core" }
diff --git a/rust/driver/snowflake/Cargo.toml b/rust/driver/snowflake/Cargo.toml
index 4e3788c10..6ba51f15c 100644
--- a/rust/driver/snowflake/Cargo.toml
+++ b/rust/driver/snowflake/Cargo.toml
@@ -20,15 +20,15 @@ name = "adbc_snowflake"
description = "Snowflake Arrow Database Connectivity (ADBC) driver"
version.workspace = true
edition.workspace = true
+rust-version.workspace = true
authors.workspace = true
license.workspace = true
+readme.workspace = true
+documentation = "http://docs.rs/adbc_snowflake/"
homepage.workspace = true
repository.workspace = true
-rust-version.workspace = true
keywords.workspace = true
categories.workspace = true
-documentation = "http://docs.rs/adbc_snowflake/"
-readme = "README.md"
[features]
default = ["bundled", "env", "dotenv"]