Skip to content

Added Cargo.lock and removed from .gitignore#83

Merged
suo merged 1 commit intosuo:mainfrom
PrestonHager:main
Jul 2, 2025
Merged

Added Cargo.lock and removed from .gitignore#83
suo merged 1 commit intosuo:mainfrom
PrestonHager:main

Conversation

@PrestonHager
Copy link
Contributor

As stated in the .gitignore, Cargo.lock should be included in repositories for executables, i.e. removed from .gitignore. Please see https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html for more information.

Pull request is motivated by the need to create a nix package in nixpkgs for a project. To compile correctly a Cargo.lock file is needed. For now I've listed my fork with this change as the source for the package but I can change it to this upstream as soon as the Cargo.lock file is included. I also recommend bumping the minor version when merging this for differentiability.

Also see #377405 on nixpkgs.

As stated in the .gitignore, Cargo.lock should be included in
repositories for executables, i.e. removed from .gitignore.
Please see https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
for more information.
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