Skip to content

Readme file is allowed to not be in the .crate package #14468

Closed as not planned
Closed as not planned
@xTachyon

Description

@xTachyon

Problem

I'm not sure if this is known, it's considered fine, or even if this is the right place, but here we go.

I found this crate that's published as valuable:v0.1.0 that has this line:

readme = "../README.md"

The readme seems to be available on crates.io with no problem, but it's not available in the .crate package.

While this is probably fine for most users, it has issues if you're ever trying to parse the .crate format by yourself, and see the readme.

Steps

No response

Possible Solution(s)

IMHO, paths outside the package directory should not be allowed.

Notes

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions