You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by pa...@apache.org on 2021/01/10 10:57:03 UTC

[arrow] branch master updated: ARROW-10350: [Rust] Fixes to publication metadata in Cargo.toml

This is an automated email from the ASF dual-hosted git repository.

paddyhoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 9560204  ARROW-10350: [Rust] Fixes to publication metadata in Cargo.toml
9560204 is described below

commit 9560204ecfd26caa67b04dc8d3273846c217e0d6
Author: François Garillot <fr...@garillot.net>
AuthorDate: Sun Jan 10 05:55:56 2021 -0500

    ARROW-10350: [Rust] Fixes to publication metadata in Cargo.toml
    
    Cleans some TOML fields and marks some testing crates not-for-publication.
    
    Closes #9031 from huitseeker/publication
    
    Authored-by: François Garillot <fr...@garillot.net>
    Signed-off-by: Paddy Horan <pa...@hotmail.com>
---
 dev/release/00-prepare-test.rb      | 8 ++++----
 rust/benchmarks/Cargo.toml          | 1 +
 rust/integration-testing/Cargo.toml | 1 +
 rust/parquet_derive/Cargo.toml      | 5 +++++
 rust/parquet_derive_test/Cargo.toml | 5 +++++
 5 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/dev/release/00-prepare-test.rb b/dev/release/00-prepare-test.rb
index 7ae4473..df27a1a 100644
--- a/dev/release/00-prepare-test.rb
+++ b/dev/release/00-prepare-test.rb
@@ -363,8 +363,8 @@ class PrepareTest < Test::Unit::TestCase
                      path: "rust/parquet_derive_test/Cargo.toml",
                      hunks: [
                        ["-version = \"#{@snapshot_version}\"",
-                        "+version = \"#{@release_version}\"",
-                        "-parquet = { path = \"../parquet\", version = \"#{@snapshot_version}\" }",
+                        "+version = \"#{@release_version}\""],
+                       ["-parquet = { path = \"../parquet\", version = \"#{@snapshot_version}\" }",
                         "-parquet_derive = { path = \"../parquet_derive\", version = \"#{@snapshot_version}\" }",
                         "+parquet = { path = \"../parquet\", version = \"#{@release_version}\" }",
                         "+parquet_derive = { path = \"../parquet_derive\", version = \"#{@release_version}\" }"],
@@ -610,8 +610,8 @@ class PrepareTest < Test::Unit::TestCase
                      path: "rust/parquet_derive_test/Cargo.toml",
                      hunks: [
                        ["-version = \"#{@release_version}\"",
-                        "+version = \"#{@next_snapshot_version}\"",
-                        "-parquet = { path = \"../parquet\", version = \"#{@release_version}\" }",
+                        "+version = \"#{@next_snapshot_version}\""],
+                       ["-parquet = { path = \"../parquet\", version = \"#{@release_version}\" }",
                         "-parquet_derive = { path = \"../parquet_derive\", version = \"#{@release_version}\" }",
                         "+parquet = { path = \"../parquet\", version = \"#{@next_snapshot_version}\" }",
                         "+parquet_derive = { path = \"../parquet_derive\", version = \"#{@next_snapshot_version}\" }"],
diff --git a/rust/benchmarks/Cargo.toml b/rust/benchmarks/Cargo.toml
index 617c1c5..74b74ec 100644
--- a/rust/benchmarks/Cargo.toml
+++ b/rust/benchmarks/Cargo.toml
@@ -24,6 +24,7 @@ authors = ["Apache Arrow <de...@arrow.apache.org>"]
 homepage = "https://github.com/apache/arrow"
 repository = "https://github.com/apache/arrow"
 license = "Apache-2.0"
+publish = false
 
 [dependencies]
 arrow = { path = "../arrow" }
diff --git a/rust/integration-testing/Cargo.toml b/rust/integration-testing/Cargo.toml
index e4f798d..ccf58bb 100644
--- a/rust/integration-testing/Cargo.toml
+++ b/rust/integration-testing/Cargo.toml
@@ -24,6 +24,7 @@ repository = "https://github.com/apache/arrow"
 authors = ["Apache Arrow <de...@arrow.apache.org>"]
 license = "Apache-2.0"
 edition = "2018"
+publish = false
 
 [features]
 logging = ["tracing-subscriber"]
diff --git a/rust/parquet_derive/Cargo.toml b/rust/parquet_derive/Cargo.toml
index b65b641..cb107fd 100644
--- a/rust/parquet_derive/Cargo.toml
+++ b/rust/parquet_derive/Cargo.toml
@@ -18,8 +18,13 @@
 [package]
 name = "parquet_derive"
 version = "3.0.0-SNAPSHOT"
+license = "Apache-2.0"
+description = "Derive macros for the Rust implementation of Apache Parquet"
+homepage = "https://github.com/apache/arrow"
+repository = "https://github.com/apache/arrow"
 authors = ["Apache Arrow <de...@arrow.apache.org>"]
 keywords = [ "parquet" ]
+readme = "README.md"
 edition = "2018"
 
 [lib]
diff --git a/rust/parquet_derive_test/Cargo.toml b/rust/parquet_derive_test/Cargo.toml
index 8695b5d..692aa76 100644
--- a/rust/parquet_derive_test/Cargo.toml
+++ b/rust/parquet_derive_test/Cargo.toml
@@ -18,9 +18,14 @@
 [package]
 name = "parquet_derive_test"
 version = "3.0.0-SNAPSHOT"
+license = "Apache-2.0"
+description = "Integration test package for parquet-derive"
+homepage = "https://github.com/apache/arrow"
+repository = "https://github.com/apache/arrow"
 authors = ["Apache Arrow <de...@arrow.apache.org>"]
 keywords = [ "parquet" ]
 edition = "2018"
+publish = false
 
 [dependencies]
 parquet = { path = "../parquet", version = "3.0.0-SNAPSHOT" }