Skip to content

Make one_collect publish-ready for crates.io#290

Merged
brianrob merged 1 commit into
microsoft:mainfrom
brianrob:brianrob/crate-prep
Jun 15, 2026
Merged

Make one_collect publish-ready for crates.io#290
brianrob merged 1 commit into
microsoft:mainfrom
brianrob:brianrob/crate-prep

Conversation

@brianrob

@brianrob brianrob commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

Adds the metadata crates.io needs to publish one_collect, a crate-level README
that doubles as the docs.rs landing page, and a crate-local license file.

What changed

  • Add keywords, categories, homepage, documentation, and readme
    fields to Cargo.toml.
  • Add a crate-level README.md and surface it as the docs.rs landing page via
    #![doc = include_str!("../README.md")].
  • Add a crate-local LICENSE (copy of the repo-root MIT license) so it is
    included in the published .crate (cargo only packages files under the crate
    directory).
  • exclude the UnitTest.pprof test artifact and the stack_gen C helper from
    the published package.
  • Fix a rustdoc warning in procfs.rs (/proc/[pid] was parsed as an
    intra-doc link) so the docs.rs build is warning-free.

Notes

  • The crate version is left at 0.0.0-dev; the official release pipeline
    replaces it with a real version at publish time.

Add the metadata crates.io needs and a crate landing page:

- Add keywords, categories, homepage, documentation, and readme fields
  to Cargo.toml.
- Add a crate-level README.md and surface it as the docs.rs landing
  page via #![doc = include_str!("../README.md")].
- Exclude the UnitTest.pprof test artifact and the stack_gen C helper
  from the published package.

Validated with cargo publish --dry-run.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@brianrob brianrob force-pushed the brianrob/crate-prep branch from 8aa1a72 to 9a9ecce Compare June 15, 2026 22:16
@brianrob brianrob marked this pull request as ready for review June 15, 2026 22:24
@brianrob brianrob requested a review from beaubelgrave June 15, 2026 22:24

@beaubelgrave beaubelgrave left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@brianrob brianrob merged commit 6dfe740 into microsoft:main Jun 15, 2026
15 checks passed
@brianrob brianrob deleted the brianrob/crate-prep branch June 15, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants