Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update deps #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ members = [
"staking-anchor",
]

resolver = "2"

[profile.release]
overflow-checks = true
lto = "fat"
codegen-units = 1

[profile.release.build-override]
opt-level = 3
incremental = false
codegen-units = 1
8 changes: 4 additions & 4 deletions amm-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "amm-anchor"
version = "0.1.0"
version = "0.2.0"
description = "Anchor bindings for the AMM native instruction."
homepage = "https://raydium.io/"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
edition = "2021"
keywords = ["solana", "raydium", "amm", "anchor"]

[dependencies]
anchor-lang = "0.28.0"
solana-program = "~1.14.6"
spl-token = { version="3.5.0", features = [ "no-entrypoint" ] }
anchor-lang = "0.29.0"
solana-program = "1.17.14"
spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
1 change: 0 additions & 1 deletion amm-anchor/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! Anchor-compatible SDK for the Raydium AMM program.
#![deny(missing_docs)]
#![deny(rustdoc::all)]
#![allow(rustdoc::missing_doc_code_examples)]
#![allow(clippy::nonstandard_macro_braces)]
Expand Down
6 changes: 3 additions & 3 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amm_client"
version = "0.3.0"
version = "0.4.0"
edition = "2021"

[[bin]]
Expand All @@ -9,8 +9,8 @@ path = "src/main.rs"

[dependencies]
raydium-contract-instructions = { path = "../lib"}
spl-token = { version = "3.2.0", features = ["no-entrypoint"], default-features = false }
spl-associated-token-account = "1.0.3"
spl-token = { version = "4.0.0", features = ["no-entrypoint"], default-features = false }
spl-associated-token-account = "2.3.0"
solana-client = "1.9.5"
solana-sdk = "1.9.5"
anyhow = "1.0.53"
Expand Down
10 changes: 5 additions & 5 deletions farm-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "farm-anchor"
version = "0.1.0"
version = "0.2.0"
description = "Anchor bindings for the farm native instruction."
homepage = "https://raydium.io/"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
Expand All @@ -16,7 +16,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"]

[dependencies]
anchor-lang = "0.28.0"
solana-program = "~1.14.6"
spl-token = { version="3.5.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
anchor-lang = "0.29.0"
solana-program = "1.17.15"
spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
8 changes: 4 additions & 4 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "raydium-contract-instructions"
version = "0.1.0"
version = "0.2.0"
edition = "2021"


[dependencies]
solana-program = "1.14.6"
spl-token = { version="3.5.0", features = [ "no-entrypoint" ] }
spl-associated-token-account = { version = "1.1.2", features = ["no-entrypoint"]}
solana-program = "1.17.14"
spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
spl-associated-token-account = { version = "2.3.0", features = ["no-entrypoint"]}
num-derive = "0.3"
num-traits = "0.2.12"
thiserror = "1.0.20"
8 changes: 4 additions & 4 deletions stable-amm-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stable-amm-anchor"
version = "0.1.0"
version = "0.2.0"
description = "Anchor bindings for the stable AMM native instruction."
homepage = "https://raydium.io/"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
Expand All @@ -16,7 +16,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"]

[dependencies]
anchor-lang = "0.28.0"
solana-program = "~1.14.6"
spl-token = { version="3.5.0", features = [ "no-entrypoint" ] }
anchor-lang = "0.29.0"
solana-program = "1.17.4"
spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
10 changes: 5 additions & 5 deletions staking-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "staking-anchor"
version = "0.1.0"
version = "0.2.0"
description = "Anchor bindings for the farm native instruction."
homepage = "https://raydium.io/"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
Expand All @@ -16,7 +16,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"]

[dependencies]
anchor-lang = "0.28.0"
solana-program = "~1.14.6"
spl-token = { version="3.5.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
anchor-lang = "0.29.0"
solana-program = "1.17.14"
spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
2 changes: 2 additions & 0 deletions tests/amm-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
members = [
"programs/*"
]

resolver = "2"
8 changes: 4 additions & 4 deletions tests/amm-proxy/programs/amm-proxy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amm-proxy"
version = "0.1.0"
version = "0.2.0"
description = "Created with Anchor"
edition = "2018"

Expand All @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.25.0"
spl-token = { version="~3.3.0", features = [ "no-entrypoint" ] }
amm-anchor = {path = "../../../../amm-anchor"}
anchor-lang = "0.29.0"
spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
amm-anchor = {path = "../../../../amm-anchor"}