Skip to content

Use the project slug in the Rust crates' repository URLs - #224

Merged
timkpaine merged 1 commit into
mainfrom
tkp/repository-url-slug
Nov 18, 2026
Merged

timkpaine merged 1 commit into
mainfrom
tkp/repository-url-slug

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Fixes the repository URL in the Rust crates' Cargo.toml templates for the rust variant (including its capi crate) and the rustjswasm variant.

They built the URL from project_name. A project named dau polars rendered https://github.com/dau-dev/dau polars, which is not a valid URL. They now use project_name_formatted, as pyproject.toml and the README badges already do. Rendered with project_name="dau polars", both the main and capi crates now read https://github.com/dau-dev/dau-polars.

The Rust manifests built the repository URL from project_name, so a name with a space rendered an invalid URL (https://github.com/<org>/dau polars). They now use project_name_formatted, as pyproject.toml and the README badges do.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@timkpaine
timkpaine merged commit e14e42f into main Nov 18, 2026
27 checks passed
@timkpaine
timkpaine deleted the tkp/repository-url-slug branch November 18, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant