Skip to content

Commit

Permalink
Fix workspace resolver warning (#2676)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto authored Oct 30, 2023
1 parent 7e5bdce commit 150fc3e
Show file tree
Hide file tree
Showing 43 changed files with 46 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ The minor version will be incremented upon a breaking change and the patch versi

### Fixes

- syn: Add missing `new_from_array` method to `Hash` ([#2682](https://github.com/coral-xyz/anchor/pull/2682)).
- cli: Switch to Cargo feature resolver(`resolver = "2"`) ([#2676](https://github.com/coral-xyz/anchor/pull/2676)).

### Breaking

## [0.29.0] - 2023-10-16
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ exclude = [
"tests/swap/deps/openbook-dex",
"tests/cfo/deps/openbook-dex",
]
resolver = "2"
1 change: 1 addition & 0 deletions cli/src/rust_template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ const fn workspace_manifest() -> &'static str {
members = [
"programs/*"
]
resolver = "2"
[profile.release]
overflow-checks = true
Expand Down
1 change: 1 addition & 0 deletions tests/anchor-cli-account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ overflow-checks = true
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/anchor-cli-idl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ overflow-checks = true
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/auction-house/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/bpf-upgradeable-state/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/cashiers-check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/cfo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ exclude = [
"deps/stake",
"deps/swap"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/chat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/composite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/cpi-returns/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/custom-coder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/declare-id/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/docs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/escrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/events/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/floats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/idl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
members = [
"programs/*"
]
resolver = "2"

[profile.release]
overflow-checks = true
Expand Down
1 change: 1 addition & 0 deletions tests/ido-pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/lockup/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/misc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/multiple-suites-run-single/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/multiple-suites/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/multisig/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/optional/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/pda-derivation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/pyth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/realloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/relations-derivation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/safety-checks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/spl/metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
members = [
"programs/*"
]
resolver = "2"

[profile.release]
overflow-checks = true
Expand Down
1 change: 1 addition & 0 deletions tests/spl/token-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/spl/token-wrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
3 changes: 2 additions & 1 deletion tests/swap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ members = [
]
exclude = [
"deps/openbook-dex"
]
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/system-accounts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/sysvars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/tictactoe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/typescript/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/validator-clone/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"
1 change: 1 addition & 0 deletions tests/zero-copy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"programs/*"
]
resolver = "2"

1 comment on commit 150fc3e

@vercel
Copy link

@vercel vercel bot commented on 150fc3e Oct 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

anchor-docs – ./

www.anchor-lang.com
anchor-docs-200ms.vercel.app
anchor-docs-git-master-200ms.vercel.app
anchor-lang.com

Please sign in to comment.