Skip to content

Commit

Permalink
refactor(package): split cargo_package to modules (#14982)
Browse files Browse the repository at this point in the history
### What does this PR try to resolve?

Do nothing but move code around

* `cargo_package.rs` -> `cargo_package/mod.rs`
* Extract vcs info helpers to `cargo_package/vcs.rs`
* Extract verification helpers to `cargo_package/verify.rs`

Doing so because I realized how big `cargo_package.rs` has grown.
Like, the vcs helpers will continue growing with #14981 and potentially
other optimizations.

### How should we test and review this PR?

All tests pass.
  • Loading branch information
weihanglo authored Dec 25, 2024
2 parents c86f4b3 + dac06bf commit 0276088
Show file tree
Hide file tree
Showing 4 changed files with 463 additions and 405 deletions.
Loading

0 comments on commit 0276088

Please sign in to comment.