Skip to content

Commit

Permalink
Add empty workspace to Cargo.toml
Browse files Browse the repository at this point in the history
This fixes an issue that arises when the package is installed with pre-commit into a cache directory that is itself a subdirectory of a Cargo workspace, making Cargo think it's a package that should have been a part of the parent workspace.
  • Loading branch information
yuvald-sweet-security authored Dec 19, 2024
1 parent e7a2511 commit e8e50ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,5 @@ opt-level = 3

[profile.dev.package.similar]
opt-level = 3

[workspace]

0 comments on commit e8e50ae

Please sign in to comment.