This is an automated email from the ASF dual-hosted git repository.
XiaoHongbo-Hope pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-vector-index.git
The following commit(s) were added to refs/heads/main by this push:
new 6c86ade build(crates): add description to core and jni crates (#49)
6c86ade is described below
commit 6c86ade48588325e0ace3aa532ed9a2cec09fc55
Author: jianguotian <[email protected]>
AuthorDate: Fri Jun 19 15:11:33 2026 +0800
build(crates): add description to core and jni crates (#49)
* build(crates): add description to core and jni crates
crates.io rejects publish without a description field; core and jni were
missing it (ffi already had one), failing the final-tag rust release. RC
only runs cargo publish --dry-run, which skips the server-side metadata
check, so this surfaced only on the v0.1.0 publish.
* build(crates): pin core version on ffi/jni path deps
cargo publish rejects path deps without a version requirement. ffi/jni
depend on core via path-only, so they cannot be published. Pin version=0.1.0
alongside the path so the publish keeps the path for local builds and the
version for crates.io.
---------
Co-authored-by: jianguotian <[email protected]>
---
core/Cargo.toml | 1 +
ffi/Cargo.toml | 2 +-
jni/Cargo.toml | 3 ++-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 82f67c0..63e5bb4 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -19,6 +19,7 @@
name = "paimon-vindex-core"
version = "0.1.0"
edition = "2021"
+description = "Apache Paimon Vector Index — core Rust library"
license = "Apache-2.0"
[dependencies]
diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml
index 3a5c1e4..5ae16c7 100644
--- a/ffi/Cargo.toml
+++ b/ffi/Cargo.toml
@@ -27,7 +27,7 @@ name = "paimon_vindex_ffi"
crate-type = ["cdylib"]
[dependencies]
-paimon-vindex-core = { path = "../core" }
+paimon-vindex-core = { path = "../core", version = "0.1.0" }
[build-dependencies]
cbindgen = "0.27"
diff --git a/jni/Cargo.toml b/jni/Cargo.toml
index e785f52..e1f6e7f 100644
--- a/jni/Cargo.toml
+++ b/jni/Cargo.toml
@@ -19,6 +19,7 @@
name = "paimon-vindex-jni"
version = "0.1.0"
edition = "2021"
+description = "Apache Paimon Vector Index — JNI bindings for Java"
license = "Apache-2.0"
[lib]
@@ -26,5 +27,5 @@ name = "paimon_vindex_jni"
crate-type = ["cdylib"]
[dependencies]
-paimon-vindex-core = { path = "../core" }
+paimon-vindex-core = { path = "../core", version = "0.1.0" }
jni = "0.21"