Recipes/Templates for Python project with Rust extensions?

I release a Python package: rateslib. The last version that successfully worked on conda-forge was 1.1.0, which was pure Python and worked right out of the box, since I published it as a no-arch distribution on PyPi, it relied on a boiler plate template to setup in conda-feedstock: GitHub - conda-forge/rateslib-feedstock: A conda-smithy repository for rateslib..

I have since added a Rust extension module within the package, and shifted the build process to maturin. Everything works locally and new versions have been pushed to PyPi (1.2.0 and 1.3.0). But I could not successful get this released in conda.

Package distribution is not my forte, I have no real knowledge of it, other than it being a somewhat trial and error process every 6 weeks or so. Is there any, simple, boiler plate setup I can copy to get this up and running on conda with a rust/maturin build process. I have only distributed Windows and Mac-OS wheels (and that is fine as an initial target) since I haven’t yet figured out the Many-Linux process either.

I have tried to take a look at the polars setup but it is far more complicated than I expect I need or can understand at this juncture.

There seems to be no activity on the feedstock PRs. Can you link to the place where you are trying to fix any issues? This setup is quite common, sadly polars is way more complex than it needs to be. Maybe pydantic-core-feedstock/recipe/meta.yaml at 38d4bda0879ce8e7315126a93fd143e5298cbcd6 · conda-forge/pydantic-core-feedstock · GitHub is a better starting point for you.