Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Annotate crates not meant to be published with publish = false #12678

@joao-paulo-parity

Description

@joao-paulo-parity

For the upcoming Automated Substrate crates' Release effort, it'll be easier to detect if a crate is not meant to be published if its Cargo.toml includes a publish = false. This is recommended in https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field and also is a common practice for other Rust projects, e.g. https://github.com/awslabs/smithy-rs/blob/b2c989630fe42560264be8fe917f3f1950c8e30f/rust-runtime/aws-smithy-types/fuzz/Cargo.toml#L5.

The absence of those annotations isn't a blocker for the publishing since we can work around it through custom exclusion lists, but it'd be nice to have those annotations directly in the repository.

In case all crates are meant to be published, feel free to close this ticket.

Metadata

Metadata

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