Skip to content

Remove Cargo.lock from version control#4

Merged
MagicalTux merged 3 commits into
masterfrom
remove-cargo-lock
Jun 4, 2026
Merged

Remove Cargo.lock from version control#4
MagicalTux merged 3 commits into
masterfrom
remove-cargo-lock

Conversation

@MagicalTux

Copy link
Copy Markdown
Member

Summary

  • Removes the committed Cargo.lock and adds it to .gitignore.

For library crates, the lockfile is conventionally not committed: downstream consumers resolve their own dependency versions, so a checked-in Cargo.lock only affects local builds/CI of this crate and adds churn.

🤖 Generated with Claude Code

MagicalTux and others added 3 commits June 4, 2026 22:24
Add [lints.rust] unsafe_code = "forbid" to Cargo.toml so the guarantee
extends beyond the library (which already had #![forbid(unsafe_code)] in
src/lib.rs) to the build-time code generator, build_support helpers,
examples, and tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Conventional for library crates: downstream consumers resolve their own
dependency versions, so the lockfile is not committed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@MagicalTux MagicalTux merged commit 370e0e9 into master Jun 4, 2026
3 checks passed
@MagicalTux MagicalTux mentioned this pull request Jun 4, 2026
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.

1 participant