From 89c30be3cf4ab14b57d800a50432621719399fbc Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Mon, 21 Oct 2024 12:19:55 -0700 Subject: [PATCH] docs: add `repository` field to `Cargo.toml`s, fix #1452 --- RELEASING.md | 2 +- hydro_deploy/core/Cargo.toml | 1 + hydro_deploy/hydro_cli/Cargo.toml | 1 + hydro_deploy/hydroflow_deploy_integration/Cargo.toml | 1 + hydroflow/Cargo.toml | 1 + hydroflow_datalog/Cargo.toml | 1 + hydroflow_datalog_core/Cargo.toml | 1 + hydroflow_lang/Cargo.toml | 1 + hydroflow_macro/Cargo.toml | 1 + hydroflow_plus/Cargo.toml | 1 + lattices/Cargo.toml | 1 + lattices_macro/Cargo.toml | 1 + multiplatform_test/Cargo.toml | 1 + pusherator/Cargo.toml | 1 + stageleft/Cargo.toml | 1 + stageleft_macro/Cargo.toml | 1 + stageleft_tool/Cargo.toml | 1 + variadics/Cargo.toml | 1 + 18 files changed, 18 insertions(+), 1 deletion(-) diff --git a/RELEASING.md b/RELEASING.md index 8b96d3e48e7..956682b38a1 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -99,7 +99,7 @@ junk you mistakenly pushed. When adding a new crate which is published, you need to: 1. Ensure `publish = true` and other required fields (`license`, `description`, `documentation`, - etc.), are set in `my_crate/Cargo.toml` + `repository`, etc.), are set in `my_crate/Cargo.toml` https://doc.rust-lang.org/cargo/reference/publishing.html#before-publishing-a-new-crate 2. Ensure any `path` dependencies to/from `my_crate` also include `version = "^0.1.0"` (substitute correct version). diff --git a/hydro_deploy/core/Cargo.toml b/hydro_deploy/core/Cargo.toml index f74fc73fa06..30dfe96294f 100644 --- a/hydro_deploy/core/Cargo.toml +++ b/hydro_deploy/core/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydro_deploy/" +repository = "https://github.com/hydro-project/hydroflow" description = "Hydro Deploy" [lints] diff --git a/hydro_deploy/hydro_cli/Cargo.toml b/hydro_deploy/hydro_cli/Cargo.toml index 815fdb9f519..0a050e142c2 100644 --- a/hydro_deploy/hydro_cli/Cargo.toml +++ b/hydro_deploy/hydro_cli/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydro_cli/" +repository = "https://github.com/hydro-project/hydroflow" description = "Hydro Deploy Command Line Interface" [lints] diff --git a/hydro_deploy/hydroflow_deploy_integration/Cargo.toml b/hydro_deploy/hydroflow_deploy_integration/Cargo.toml index 37c954e8523..09c891f6225 100644 --- a/hydro_deploy/hydroflow_deploy_integration/Cargo.toml +++ b/hydro_deploy/hydroflow_deploy_integration/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydroflow_deploy_integration/" +repository = "https://github.com/hydro-project/hydroflow" description = "`hydro_deploy` integration for Hydroflow" [lints] diff --git a/hydroflow/Cargo.toml b/hydroflow/Cargo.toml index 3d4400e9deb..e90da32601d 100644 --- a/hydroflow/Cargo.toml +++ b/hydroflow/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydroflow/" +repository = "https://github.com/hydro-project/hydroflow" description = "Hydro's low-level dataflow runtime and IR" [lints] diff --git a/hydroflow_datalog/Cargo.toml b/hydroflow_datalog/Cargo.toml index 93633dfe7d1..b47934c1133 100644 --- a/hydroflow_datalog/Cargo.toml +++ b/hydroflow_datalog/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydroflow_datalog/" +repository = "https://github.com/hydro-project/hydroflow" description = "Datalog proc-macro for Hydroflow" [lints] diff --git a/hydroflow_datalog_core/Cargo.toml b/hydroflow_datalog_core/Cargo.toml index f669063d310..fc49d09f224 100644 --- a/hydroflow_datalog_core/Cargo.toml +++ b/hydroflow_datalog_core/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydroflow_datalog_core/" +repository = "https://github.com/hydro-project/hydroflow" description = "Datalog implementation for Hydroflow" [lints] diff --git a/hydroflow_lang/Cargo.toml b/hydroflow_lang/Cargo.toml index 40fc75f5d0f..b66ddf314d3 100644 --- a/hydroflow_lang/Cargo.toml +++ b/hydroflow_lang/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydroflow_lang/" +repository = "https://github.com/hydro-project/hydroflow" description = "Hydroflow's Surface Syntax implementation" [lints] diff --git a/hydroflow_macro/Cargo.toml b/hydroflow_macro/Cargo.toml index bf7f97434a8..bdebc418a51 100644 --- a/hydroflow_macro/Cargo.toml +++ b/hydroflow_macro/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydroflow_macro/" +repository = "https://github.com/hydro-project/hydroflow" description = "Macro for using Hydroflow's Surface Syntax" [lints] diff --git a/hydroflow_plus/Cargo.toml b/hydroflow_plus/Cargo.toml index 847213de8fc..1fa3a153d5e 100644 --- a/hydroflow_plus/Cargo.toml +++ b/hydroflow_plus/Cargo.toml @@ -5,6 +5,7 @@ version = "0.9.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/hydroflow_plus/" +repository = "https://github.com/hydro-project/hydroflow" description = "Functional programming API for hydroflow" [lints] diff --git a/lattices/Cargo.toml b/lattices/Cargo.toml index b4daacad7ee..906634fa294 100644 --- a/lattices/Cargo.toml +++ b/lattices/Cargo.toml @@ -5,6 +5,7 @@ version = "0.5.7" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/lattices/" +repository = "https://github.com/hydro-project/hydroflow" description = "Lattice data types for simplifying distributed state by providing associativity, commutativity, and idempotence." [lints] diff --git a/lattices_macro/Cargo.toml b/lattices_macro/Cargo.toml index 7daa0714017..7e333202db5 100644 --- a/lattices_macro/Cargo.toml +++ b/lattices_macro/Cargo.toml @@ -5,6 +5,7 @@ version = "0.5.6" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/lattices/" +repository = "https://github.com/hydro-project/hydroflow" description = "Procedural macros for the `lattices` crate." [lints] diff --git a/multiplatform_test/Cargo.toml b/multiplatform_test/Cargo.toml index cccc85ec4c1..f801ac791eb 100644 --- a/multiplatform_test/Cargo.toml +++ b/multiplatform_test/Cargo.toml @@ -5,6 +5,7 @@ version = "0.2.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/multiplatform_test/" +repository = "https://github.com/hydro-project/hydroflow" description = "A simple attribute macro to combine `#[test]` and `#[wasm_bindgen_test]`" [lints] diff --git a/pusherator/Cargo.toml b/pusherator/Cargo.toml index 4c454c1f061..cc23f727fd8 100644 --- a/pusherator/Cargo.toml +++ b/pusherator/Cargo.toml @@ -5,6 +5,7 @@ version = "0.0.8" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/pusherator/" +repository = "https://github.com/hydro-project/hydroflow" description = "Push-based version of Rust iterators" [lints] diff --git a/stageleft/Cargo.toml b/stageleft/Cargo.toml index d58e1bfa18f..459409b16ef 100644 --- a/stageleft/Cargo.toml +++ b/stageleft/Cargo.toml @@ -5,6 +5,7 @@ version = "0.4.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/stageleft/" +repository = "https://github.com/hydro-project/hydroflow" description = "Type-safe staged programming for Rust" [lints] diff --git a/stageleft_macro/Cargo.toml b/stageleft_macro/Cargo.toml index 6912ac8471f..0e8230805ad 100644 --- a/stageleft_macro/Cargo.toml +++ b/stageleft_macro/Cargo.toml @@ -5,6 +5,7 @@ version = "0.3.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/stageleft_macro/" +repository = "https://github.com/hydro-project/hydroflow" description = "Helper macros for the stageleft crate" [lints] diff --git a/stageleft_tool/Cargo.toml b/stageleft_tool/Cargo.toml index bcaae60d8f7..a738347b530 100644 --- a/stageleft_tool/Cargo.toml +++ b/stageleft_tool/Cargo.toml @@ -5,6 +5,7 @@ version = "0.3.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/stageleft_macro/" +repository = "https://github.com/hydro-project/hydroflow" description = "Helper macros for the stageleft crate" [lints] diff --git a/variadics/Cargo.toml b/variadics/Cargo.toml index 18216168614..a9e98b8e6fb 100644 --- a/variadics/Cargo.toml +++ b/variadics/Cargo.toml @@ -5,6 +5,7 @@ version = "0.0.6" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/variadics/" +repository = "https://github.com/hydro-project/hydroflow" description = "Variadic generics on stable Rust using tuple lists" [lints]