From c54560214a22aec01c51921d8626ff9739e2269f Mon Sep 17 00:00:00 2001 From: Mike Foster Date: Tue, 2 Jun 2026 09:51:19 +0000 Subject: [PATCH 1/3] use OIDC for publishing --- .github/workflows/rust-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust-publish.yml b/.github/workflows/rust-publish.yml index f578fa4..f9c6847 100644 --- a/.github/workflows/rust-publish.yml +++ b/.github/workflows/rust-publish.yml @@ -21,11 +21,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - # - uses: rust-lang/crates-io-auth-action@bbd81622f20ce9e2dd9622e3218b975523e45bbe #v1.0.4 - # id: auth + - uses: rust-lang/crates-io-auth-action@bbd81622f20ce9e2dd9622e3218b975523e45bbe #v1.0.4 + id: auth - name: Publish env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} - # CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} + # CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} run: cargo publish From 2f2822e47a82e2f3d606292d7841852c27982662 Mon Sep 17 00:00:00 2001 From: Mike Foster Date: Tue, 2 Jun 2026 09:52:35 +0000 Subject: [PATCH 2/3] simplify transpose where clause --- crates/try_v2/src/transform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/try_v2/src/transform.rs b/crates/try_v2/src/transform.rs index 8baa0d0..ddaa29c 100644 --- a/crates/try_v2/src/transform.rs +++ b/crates/try_v2/src/transform.rs @@ -101,7 +101,7 @@ where // Bar Y: Try, // Bar> - X: Try + FromResidual<::Residual>, + X: Try + FromResidual, // Foo: Try + FromResidual> X::Output: Try + FromResidual, // X *is* the canonical TryType for `Bar>` From 5554797a1d6eca1262e67c3deeaf4487347ecb62 Mon Sep 17 00:00:00 2001 From: Mike Foster Date: Tue, 2 Jun 2026 09:54:47 +0000 Subject: [PATCH 3/3] bump v --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- crates/try_v2/Cargo.toml | 2 +- crates/try_v2_derive/Cargo.toml | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 955d0ad..0f6d595 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog try_v2 +## [v0.5.1] + +### Bugfixes + +- Simplify `transpose()` signature (`where` clause) + ## [v0.5.0] ### New features diff --git a/Cargo.toml b/Cargo.toml index 35f9420..4885f38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,4 +4,4 @@ resolver = "3" members = ["crates/*"] [workspace.dependencies] -try_v2_derive = { path = "crates/try_v2_derive", version = "0.5.0" } +try_v2_derive = { path = "crates/try_v2_derive", version = "0.5.1" } diff --git a/crates/try_v2/Cargo.toml b/crates/try_v2/Cargo.toml index 675a5c8..6501533 100644 --- a/crates/try_v2/Cargo.toml +++ b/crates/try_v2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "try_v2" -version = "0.5.0" +version = "0.5.1" edition = "2024" readme = "README.md" description = "Provides a derive macro & helper traits for `Try`" diff --git a/crates/try_v2_derive/Cargo.toml b/crates/try_v2_derive/Cargo.toml index 86b38e7..0408081 100644 --- a/crates/try_v2_derive/Cargo.toml +++ b/crates/try_v2_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "try_v2_derive" -version = "0.5.0" +version = "0.5.1" edition = "2024" readme = "README.md" description = "Provides a derive macro for `Try`. Part of crate `try_v2`."