From c44a655f0a0f186ae8ec2336ed417be20dd37cde Mon Sep 17 00:00:00 2001 From: Ryuzo Yamamoto Date: Mon, 6 Apr 2026 10:53:31 +0900 Subject: [PATCH 1/4] chore: rename crate to cloudsqlconn and add readme field --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f01937b..5cddd70 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,10 @@ [package] -name = "cloud-sql-connector" +name = "cloudsqlconn" version = "0.1.0" edition = "2024" description = "Cloud SQL connector for Rust" license = "MIT" +readme = "README.md" repository = "https://github.com/tailor-platform/cloud-sql-connector-rs" [dependencies] From 7658e6fa9235931380cf8adfd7f9056aa1a64b48 Mon Sep 17 00:00:00 2001 From: Ryuzo Yamamoto Date: Mon, 6 Apr 2026 11:07:15 +0900 Subject: [PATCH 2/4] chore: add CODEOWNERS --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..e90d82f --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @tailor-platform/maintainers-cloud-sql-connector-rs From 94558211a0ee7fa86e7e083b5b366136ff64dfd1 Mon Sep 17 00:00:00 2001 From: Ryuzo Yamamoto Date: Mon, 6 Apr 2026 11:13:09 +0900 Subject: [PATCH 3/4] feat: add trusted publishing release workflow --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..25349ff --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: Publish to crates.io + +on: + push: + tags: ["v*"] + +jobs: + publish: + runs-on: ubuntu-latest + environment: release + permissions: + id-token: write + contents: read + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable + with: + toolchain: stable + - uses: rust-lang/crates-io-auth-action@bbd81622f20ce9e2dd9622e3218b975523e45bbe # v1.0.4 + id: auth + - run: cargo publish + env: + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} From 108e7e6ec7f03015ad1cbd391faf9fb2062c71f3 Mon Sep 17 00:00:00 2001 From: Ryuzo Yamamoto Date: Mon, 6 Apr 2026 11:14:55 +0900 Subject: [PATCH 4/4] chore: remove environment from release workflow --- .github/workflows/release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25349ff..189e4a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,6 @@ on: jobs: publish: runs-on: ubuntu-latest - environment: release permissions: id-token: write contents: read