Skip to content

chore: explicitly include package files - #127

Open
ynqa wants to merge 1 commit into
mainfrom
chore/package-include
Open

ynqa wants to merge 1 commit into
mainfrom
chore/package-include

Conversation

@ynqa

@ynqa ynqa commented Sep 17, 2026

Copy link
Copy Markdown
Owner

SSIA

Copilot AI lite review requested due to automatic review settings September 17, 2026 02:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The allowlist can produce an unusable or incomplete crate package.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR adds an explicit Cargo package file allowlist.

Changes:

  • Limits published crate contents to selected source, configuration, documentation, license, and lockfile files.
File summaries
File Summary
Cargo.toml Adds the package allowlist. Leading slashes make the patterns invalid for the package root, and assets/ is omitted despite being referenced by README.md.
Review details

Suppressed comments (1)

Cargo.toml:11

  • The new allowlist omits assets/, but README.md embeds assets/jnv-dark.svg and assets/jnv-light.svg. Packaging with this list will leave those README images out of the crate archive, producing broken links for package consumers; include the assets directory as well.
    "/src/**",
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Cargo.toml
Comment on lines +10 to +16
include = [
"/src/**",
"/default.toml",
"/README.md",
"/LICENSE",
"/Cargo.lock",
]
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