Skip to content

Commit

Permalink
[dep] dependencies to be defined at workspace level
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Nov 8, 2023
1 parent 7c6cd3d commit d7fd308
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ opt-level = 3
incremental = false
codegen-units = 1


[workspace.dependencies]
anchor-lang = "0.29.0"
solana-security-txt = "1.1.1"
4 changes: 2 additions & 2 deletions programs/validator-bonds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
solana-security-txt = "1.1.1"
anchor-lang = { workspace = true }
solana-security-txt = { workspace = true }

0 comments on commit d7fd308

Please sign in to comment.