diff --git a/RELEASING.md b/RELEASING.md index aa9300fd6908..bca46834efb0 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -117,7 +117,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/dfir_datalog/Cargo.toml b/dfir_datalog/Cargo.toml index 974c483a3f65..c12a0cd60a54 100644 --- a/dfir_datalog/Cargo.toml +++ b/dfir_datalog/Cargo.toml @@ -5,6 +5,7 @@ version = "0.11.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/dfir_datalog/" +repository = "https://github.com/hydro-project/hydroflow" description = "Datalog proc-macro for DFIR" [lints] diff --git a/dfir_datalog_core/Cargo.toml b/dfir_datalog_core/Cargo.toml index fd9e92e6698f..7b73b9bb9f00 100644 --- a/dfir_datalog_core/Cargo.toml +++ b/dfir_datalog_core/Cargo.toml @@ -5,6 +5,7 @@ version = "0.11.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/dfir_datalog_core/" +repository = "https://github.com/hydro-project/hydroflow" description = "Datalog implementation for DFIR" [lints] diff --git a/dfir_lang/Cargo.toml b/dfir_lang/Cargo.toml index d4a06f40d270..6b77897e9238 100644 --- a/dfir_lang/Cargo.toml +++ b/dfir_lang/Cargo.toml @@ -5,6 +5,7 @@ version = "0.11.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/dfir_lang/" +repository = "https://github.com/hydro-project/hydroflow" description = "Hydro's Dataflow Intermediate Representation (DFIR) implementation" [lints] diff --git a/dfir_macro/Cargo.toml b/dfir_macro/Cargo.toml index 51f22794a109..cc67707a7859 100644 --- a/dfir_macro/Cargo.toml +++ b/dfir_macro/Cargo.toml @@ -5,8 +5,8 @@ version = "0.11.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/dfir_macro/" +repository = "https://github.com/hydro-project/hydroflow" description = "Macro for using Hydro's Data Flow Intermediate Representation (DFIR)." - [lints] workspace = true diff --git a/dfir_rs/Cargo.toml b/dfir_rs/Cargo.toml index 60ad78e2715e..4b8711e62de3 100644 --- a/dfir_rs/Cargo.toml +++ b/dfir_rs/Cargo.toml @@ -5,7 +5,8 @@ version = "0.11.0" edition = "2021" license = "Apache-2.0" documentation = "https://docs.rs/dfir_rs/" -description = "Hydro's low-level dataflow runtime and IR" +repository = "https://github.com/hydro-project/hydroflow" +description = "DFIR runtime for Rust, used by Hydro." [lints] workspace = true diff --git a/hydro_deploy/core/Cargo.toml b/hydro_deploy/core/Cargo.toml index a93ee31e7b20..5d13e9a2f546 100644 --- a/hydro_deploy/core/Cargo.toml +++ b/hydro_deploy/core/Cargo.toml @@ -5,6 +5,7 @@ version = "0.10.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 5dcae2c98634..64372dc6d9a1 100644 --- a/hydro_deploy/hydro_cli/Cargo.toml +++ b/hydro_deploy/hydro_cli/Cargo.toml @@ -5,6 +5,7 @@ version = "0.10.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 f87f512c81a6..fd003a3ebe17 100644 --- a/hydro_deploy/hydroflow_deploy_integration/Cargo.toml +++ b/hydro_deploy/hydroflow_deploy_integration/Cargo.toml @@ -5,6 +5,7 @@ version = "0.10.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_plus/tests/compile-fail/send_bincode_lifetime.stderr b/hydroflow_plus/tests/compile-fail/send_bincode_lifetime.stderr deleted file mode 100644 index 30e2a9501f9c..000000000000 --- a/hydroflow_plus/tests/compile-fail/send_bincode_lifetime.stderr +++ /dev/null @@ -1,31 +0,0 @@ -error: lifetime may not live long enough - --> tests/compile-fail/send_bincode_lifetime.rs:7:5 - | -6 | fn test<'a, 'b>(p1: &Process<'a, P1>, p2: &Process<'b, P2>) { - | -- -- lifetime `'b` defined here - | | - | lifetime `'a` defined here -7 | p1.source_iter(q!(0..10)).send_bincode(p2).for_each(q!(|n| println!("{}", n))); - | ^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'b` - | - = help: consider adding the following bound: `'a: 'b` - = note: requirement occurs because of the type `hydroflow_plus::Process<'_, P1>`, which makes the generic argument `'_` invariant - = note: the struct `hydroflow_plus::Process<'a, P>` is invariant over the parameter `'a` - = help: see for more information about variance - -error: lifetime may not live long enough - --> tests/compile-fail/send_bincode_lifetime.rs:7:5 - | -6 | fn test<'a, 'b>(p1: &Process<'a, P1>, p2: &Process<'b, P2>) { - | -- -- lifetime `'b` defined here - | | - | lifetime `'a` defined here -7 | p1.source_iter(q!(0..10)).send_bincode(p2).for_each(q!(|n| println!("{}", n))); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'b` must outlive `'a` - | - = help: consider adding the following bound: `'b: 'a` - = note: requirement occurs because of the type `hydroflow_plus::Process<'_, P2>`, which makes the generic argument `'_` invariant - = note: the struct `hydroflow_plus::Process<'a, P>` is invariant over the parameter `'a` - = help: see for more information about variance - -help: `'a` and `'b` must be the same: replace one with the other diff --git a/lattices/Cargo.toml b/lattices/Cargo.toml index 844d53d311c3..94910568cfa0 100644 --- a/lattices/Cargo.toml +++ b/lattices/Cargo.toml @@ -5,6 +5,7 @@ version = "0.5.8" 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 6a7dd5e8636b..8e7fec1e32e5 100644 --- a/lattices_macro/Cargo.toml +++ b/lattices_macro/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 = "Procedural macros for the `lattices` crate." [lints] diff --git a/multiplatform_test/Cargo.toml b/multiplatform_test/Cargo.toml index 926f07804ef7..e8744e163f95 100644 --- a/multiplatform_test/Cargo.toml +++ b/multiplatform_test/Cargo.toml @@ -5,6 +5,7 @@ version = "0.3.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 e02eb53f0d75..6a99d053e755 100644 --- a/pusherator/Cargo.toml +++ b/pusherator/Cargo.toml @@ -5,6 +5,7 @@ version = "0.0.9" 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 49a0ee4c9a4b..673088a519c1 100644 --- a/stageleft/Cargo.toml +++ b/stageleft/Cargo.toml @@ -5,6 +5,7 @@ version = "0.5.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 b9f1b3fba3f7..7336dbe7264b 100644 --- a/stageleft_macro/Cargo.toml +++ b/stageleft_macro/Cargo.toml @@ -5,6 +5,7 @@ version = "0.4.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 cca49aa24caf..fe565cd63cd1 100644 --- a/stageleft_tool/Cargo.toml +++ b/stageleft_tool/Cargo.toml @@ -5,6 +5,7 @@ version = "0.4.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 0198c897ba6f..7c81413e9b31 100644 --- a/variadics/Cargo.toml +++ b/variadics/Cargo.toml @@ -5,6 +5,7 @@ version = "0.0.7" 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]