Skip to content

Commit

Permalink
Add details about Cargo.lock in PUBLISH_IGNORE_LIST
Browse files Browse the repository at this point in the history
This commit adds a description for `Cargo.lock` in the constant array `PUBLISH_IGNORE_LIST`. It provides an understanding that, `Cargo.lock` is an auto-generated file by Cargo having versions of dependencies which doesn't impact functionality.
  • Loading branch information
Barsik-sus committed Mar 25, 2024
1 parent 1813e02 commit aed06a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/move/willbe/src/entity/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ mod private
///
/// - `.cargo_vcs_info.json` - contains the git sha1 hash that varies between different commits
/// - `Cargo.toml` - can be safely modified because it is used to generate the `Cargo.toml` file automatically, and the `Cargo.toml` file is sufficient to check for changes
/// - `Cargo.lock` - this file is generated automatically by Cargo. It contains the exact versions of dependencies that your project is using. Changes in this file do not affect the functionality
pub const PUBLISH_IGNORE_LIST : [ &str; 3 ] = [ ".cargo_vcs_info.json", "Cargo.toml", "Cargo.lock" ];


Expand Down

0 comments on commit aed06a6

Please sign in to comment.