From 7cfd70450affbecdbe1df10a0797ee8d25642c81 Mon Sep 17 00:00:00 2001 From: meh Date: Mon, 27 Jul 2026 07:40:25 +0700 Subject: [PATCH] build: publish the codegen crate as worktable_macros crates.io ownership of worktable_codegen is not available to this project (the crate has a single external owner), which blocks releasing 0.9.0: worktable pins the codegen crate to =0.9.0, and that version can never be published under the old name. Rename the package to worktable_macros -- the conventional name for a proc-macro companion crate -- and publish under it instead. Only the package name changes. The lib target keeps the worktable_codegen name and the root manifest uses a renamed dependency, so every `use worktable_codegen::...` and the `worktable_codegen/s3-support` feature reference stay untouched. Co-Authored-By: Claude Fable 5 --- Cargo.toml | 5 ++++- codegen/Cargo.toml | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d5f209b..9abb1ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,10 @@ tracing = "0.1" url = { version = "2", optional = true } uuid = { version = "1.10.0", features = ["v4", "v7"] } walkdir = { version = "2", optional = true } -worktable_codegen = { path = "codegen", version = "=0.9.0" } +# Renamed dependency: the package on crates.io is `worktable_macros` +# (worktable_codegen's ownership is unavailable), but the lib target and +# every `use worktable_codegen::...` keep the original name. +worktable_codegen = { package = "worktable_macros", path = "codegen", version = "=0.9.0" } [dev-dependencies] chrono = "0.4.43" diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index f6f91a1..d5f9ce8 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,9 +1,10 @@ [package] -name = "worktable_codegen" +name = "worktable_macros" version = "0.9.0" edition = "2024" license = "MIT" -description = "WorkTable codegeneration crate" +description = "Proc-macro companion crate for worktable: the worktable! macro and its derives. Formerly published as worktable_codegen." +repository = "https://github.com/pathscale/WorkTable" [features] s3-support = []