Skip to content

cargo generate uses {{CRATE_NAME}} but does not populate correctly in README #23

@Oghma

Description

@Oghma

The README includes badges that reference {{CRATE_NAME}}, but the variable is not being replaced. As a result, the generated README shows empty crate links:

[![Crates.io](https://img.shields.io/crates/v/.svg)](https://crates.io/crates/)  
[![Documentation](https://docs.rs//badge.svg)](https://docs.rs/)  

Expected behavior: {{CRATE_NAME}} should be replaced with the actual crate name during template generation or ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions