From 03a706bd914b84ed2d4f75c07188d7b15e9140fb Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Tue, 17 Nov 2026 19:45:15 -0500 Subject: [PATCH] Use the project slug in the Rust crates' repository URLs The Rust manifests built the repository URL from project_name, so a name with a space rendered an invalid URL (https://github.com//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> --- python/rust/rust/Cargo.toml.jinja | 2 +- .../rust/{% if add_c_abi %}capi{% endif %}/Cargo.toml.jinja | 2 +- python/rustjswasm/rust/Cargo.toml.jinja | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/rust/rust/Cargo.toml.jinja b/python/rust/rust/Cargo.toml.jinja index c03adbf..aeeb350 100644 --- a/python/rust/rust/Cargo.toml.jinja +++ b/python/rust/rust/Cargo.toml.jinja @@ -5,7 +5,7 @@ authors = ["{{ team }} <{{ email }}>"] edition = "2021" license = "Apache-2.0" readme = "../README.md" -repository = "https://github.com/{{ github }}/{{ project_name }}" +repository = "https://github.com/{{ github }}/{{ project_name_formatted }}" description = "{{ project_description }}" [lib] diff --git a/python/rust/rust/{% if add_c_abi %}capi{% endif %}/Cargo.toml.jinja b/python/rust/rust/{% if add_c_abi %}capi{% endif %}/Cargo.toml.jinja index d5e90cf..7078cdf 100644 --- a/python/rust/rust/{% if add_c_abi %}capi{% endif %}/Cargo.toml.jinja +++ b/python/rust/rust/{% if add_c_abi %}capi{% endif %}/Cargo.toml.jinja @@ -5,7 +5,7 @@ authors = ["{{ team }} <{{ email }}>"] edition = "2021" license = "Apache-2.0" readme = "../../README.md" -repository = "https://github.com/{{ github }}/{{ project_name }}" +repository = "https://github.com/{{ github }}/{{ project_name_formatted }}" description = "C ABI for {{ project_name }}" build = "build.rs" diff --git a/python/rustjswasm/rust/Cargo.toml.jinja b/python/rustjswasm/rust/Cargo.toml.jinja index 3cd3b05..abb06f3 100644 --- a/python/rustjswasm/rust/Cargo.toml.jinja +++ b/python/rustjswasm/rust/Cargo.toml.jinja @@ -5,7 +5,7 @@ authors = ["{{ team }} <{{ email }}>"] edition = "2021" license = "Apache-2.0" readme = "../README.md" -repository = "https://github.com/{{ github }}/{{ project_name }}" +repository = "https://github.com/{{ github }}/{{ project_name_formatted }}" description = "{{ project_description }}" [lib]