Skip to content

crates.io README is empty — include directive excludes README.md from package #62

Description

@randlee

The crates.io/api/v1/crates/wyvern-cli/0.1.0/readme endpoint returns empty content.

Root cause: crates/wyvern/Cargo.toml has:

include = ["src/**", "ui/**", "Cargo.toml"]

The readme = "../../README.md" field is present, but the include whitelist excludes the README from the published package (it lives outside the crate directory).

Fix: Add "../../README.md" to the include array:

include = ["src/**", "ui/**", "Cargo.toml", "../../README.md"]

Or alternatively use a crate-local README and point readme at it.

Note: This affects all 6 crates that share readme = "../../README.md" — they all need the same fix to get the README rendered on crates.io.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions