You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2025/12/02 07:44:49 UTC
(sedona-spatialbench) branch branch-0.1.0 updated (941f34d -> 023076b)
This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a change to branch branch-0.1.0
in repository https://gitbox.apache.org/repos/asf/sedona-spatialbench.git
from 941f34d Prepare release
new 73cc56a Fix missing and inconsistent information in Carto.toml files
new 023076b Add crates.io publish guidance
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Cargo.toml | 3 ++-
dev/release/README.md | 49 +++++++++++++++++++++++++++++++++++++++++++
spatialbench-arrow/Cargo.toml | 9 +++++---
spatialbench-cli/Cargo.toml | 8 ++++---
spatialbench/Cargo.toml | 2 ++
5 files changed, 64 insertions(+), 7 deletions(-)
(sedona-spatialbench) 02/02: Add crates.io publish guidance
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch branch-0.1.0
in repository https://gitbox.apache.org/repos/asf/sedona-spatialbench.git
commit 023076b44ed9dec4b96075977c2b0de456e834dc
Author: Jia Yu <ji...@gmail.com>
AuthorDate: Mon Dec 1 23:44:44 2025 -0800
Add crates.io publish guidance
---
dev/release/README.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/dev/release/README.md b/dev/release/README.md
index 86fe09f..0cb71f3 100644
--- a/dev/release/README.md
+++ b/dev/release/README.md
@@ -156,3 +156,52 @@ are currently all derived from `Cargo.toml`, which can be updated to:
[workspace.package]
version = "0.2.0"
```
+
+## Publishing to crates.io
+
+After a successful Apache release, the Rust crates can be published to [crates.io](https://crates.io).
+
+### Prerequisites
+
+1. **crates.io account**: Create an account at <https://crates.io> if you don't have one
+2. **API token**: Generate an API token from <https://crates.io/me>
+3. **Login to cargo**: Authenticate cargo with your API token:
+ ```shell
+ cargo login <your-api-token>
+ ```
+4. **Verify ownership**: Ensure you have owner permissions for the crates on crates.io. If this is the first publish, you'll automatically become an owner.
+
+### Pre-publish checks
+
+Before publishing, verify that:
+
+1. All tests pass:
+ ```shell
+ cargo test --workspace
+ ```
+
+2. The workspace builds successfully:
+ ```shell
+ cargo build --workspace --release
+ ```
+
+3. Check for any issues with `cargo publish --dry-run`:
+ ```shell
+ cd spatialbench && cargo publish --dry-run
+ cd ../spatialbench-arrow && cargo publish --dry-run
+ cd ../spatialbench-cli && cargo publish --dry-run
+ ```
+
+### Publishing order
+
+The crates will be published in dependency order. The correct order is:
+
+1. `spatialbench` (no workspace dependencies)
+2. `spatialbench-arrow` (depends on `spatialbench`)
+3. `spatialbench-cli` (depends on both `spatialbench` and `spatialbench-arrow`)
+
+To publish, run this command:
+
+```shell
+cargo publish
+```
\ No newline at end of file
(sedona-spatialbench) 01/02: Fix missing and inconsistent information in Carto.toml files
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch branch-0.1.0
in repository https://gitbox.apache.org/repos/asf/sedona-spatialbench.git
commit 73cc56a1ab8df0efea39572cb8baaf168bfe945a
Author: Jia Yu <ji...@gmail.com>
AuthorDate: Mon Dec 1 23:30:53 2025 -0800
Fix missing and inconsistent information in Carto.toml files
---
Cargo.toml | 3 ++-
spatialbench-arrow/Cargo.toml | 9 ++++++---
spatialbench-cli/Cargo.toml | 8 +++++---
spatialbench/Cargo.toml | 2 ++
4 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index d95e73a..82f5efa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,12 +6,13 @@ resolver = "2"
[workspace.package]
authors = ["Apache Sedona <de...@sedona.apache.org>"]
+description = "A benchmark for assessing geospatial SQL analytics query performance across database systems"
edition = "2021"
homepage = "https://github.com/apache/sedona-spatialbench/"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/apache/sedona-spatialbench/"
-version = "1.1.1"
+version = "0.1.0"
[workspace.dependencies]
geo = "0.31.0"
diff --git a/spatialbench-arrow/Cargo.toml b/spatialbench-arrow/Cargo.toml
index c78bd82..a11b7ff 100644
--- a/spatialbench-arrow/Cargo.toml
+++ b/spatialbench-arrow/Cargo.toml
@@ -17,17 +17,20 @@
[package]
name = "spatialbench-arrow"
-version = "1.1.1"
-edition = "2024"
+version = "0.1.0"
+edition = "2021"
authors = ["Apache Sedona <de...@sedona.apache.org>"]
description = "SpatialBench data generator into Apache Arrow format"
+homepage = "https://github.com/apache/sedona-spatialbench"
repository = "https://github.com/apache/sedona-spatialbench"
readme = "README.md"
license = "Apache-2.0"
+keywords = ["spatial", "geospatial", "data-generation", "apache-arrow"]
+categories = ["science::geo", "database", "data-structures"]
[dependencies]
arrow = { version = "56", default-features = false, features = ["prettyprint"] }
-spatialbench = { path = "../spatialbench", version = "1.1.1" }
+spatialbench = { path = "../spatialbench", version = "0.1.0" }
geo = { workspace = true }
geozero = { workspace = true }
diff --git a/spatialbench-cli/Cargo.toml b/spatialbench-cli/Cargo.toml
index 5b42ec4..8c1ff93 100644
--- a/spatialbench-cli/Cargo.toml
+++ b/spatialbench-cli/Cargo.toml
@@ -17,7 +17,7 @@
[package]
name = "spatialbench-cli"
-version = "1.1.1"
+version = "0.1.0"
authors = { workspace = true }
description = "Blazing fast pure Rust SpatialBench data generator command line tool."
readme = "README.md"
@@ -25,13 +25,15 @@ edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
+keywords = ["spatial", "geospatial", "benchmark", "cli", "data-generation"]
+categories = ["science::geo", "database", "command-line-utilities", "development-tools"]
[dependencies]
arrow = "56"
parquet = "56"
clap = { version = "4.5.32", features = ["derive"] }
-spatialbench = { path = "../spatialbench", version = "1.1.1"}
-spatialbench-arrow = { path = "../spatialbench-arrow", version = "1.1.1" }
+spatialbench = { path = "../spatialbench", version = "0.1.0"}
+spatialbench-arrow = { path = "../spatialbench-arrow", version = "0.1.0" }
tokio = { version = "1.44.1", features = ["full"]}
futures = "0.3.31"
num_cpus = "1.0"
diff --git a/spatialbench/Cargo.toml b/spatialbench/Cargo.toml
index 7ab2005..304f7ea 100644
--- a/spatialbench/Cargo.toml
+++ b/spatialbench/Cargo.toml
@@ -25,6 +25,8 @@ version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
+keywords = ["spatial", "geospatial", "benchmark", "data-generation", "sql"]
+categories = ["science::geo", "database", "data-structures", "development-tools"]
# Designed to have no depdencies to make it easy to embed in other projects
# See ../ARCHITECTURE.md for more details