Skip to content

[synaptic-mesh] GH#36 — Validate packaged crate before publish #36

Description

@rmems

Goal

Stop packaging surprises before the 0.3.0 crates.io publish. Mirror the intent of nir-rs LIM-998, keep it small.

What to do

Add a CI job or step on main / PRs:

  • cargo package --locked
  • Optionally unpack the .crate and cargo check it from a temp project so excluded files cannot sneak in

Do not add cargo-semver-checks here (parked on v0.4.0).

Acceptance criteria

  • CI fails if cargo package --locked fails
  • Packaged file list is reviewed once against exclude in Cargo.toml

Milestone

v0.3.0 — First crates.io

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions