diff --git a/.github/workflows/publish-rust.yml b/.github/workflows/publish-rust.yml index 5ba30929..6cd88729 100644 --- a/.github/workflows/publish-rust.yml +++ b/.github/workflows/publish-rust.yml @@ -87,6 +87,15 @@ jobs: - name: Run tests run: cargo test --workspace + - name: Dry-run publish every crate + run: | + set -euo pipefail + for crate in ahp-types ahp ahp-ws; do + echo "::group::cargo publish -p $crate --dry-run" + cargo publish -p "$crate" --dry-run + echo "::endgroup::" + done + publish: needs: validate diff --git a/clients/rust/crates/ahp-ws/Cargo.toml b/clients/rust/crates/ahp-ws/Cargo.toml index f1037d20..1635b0b3 100644 --- a/clients/rust/crates/ahp-ws/Cargo.toml +++ b/clients/rust/crates/ahp-ws/Cargo.toml @@ -10,7 +10,7 @@ readme = "README.md" homepage = "https://microsoft.github.io/agent-host-protocol/" documentation = "https://docs.rs/ahp-ws" keywords = ["ahp", "agent", "websocket", "transport", "tokio"] -categories = ["api-bindings", "asynchronous", "network-programming::websocket"] +categories = ["api-bindings", "asynchronous", "network-programming"] [package.metadata.docs.rs] all-features = true