Skip to content
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
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ members = [
"market_making"
]

[workspace.dependencies]
anchor-lang = "0.28.0"
anchor-spl = "0.28.0"
anchor-client = "0.28.0"
anyhow = "1.0.71"
clap = "4.3.3"
mpl-token-metadata = "3.0.1"
proptest = "1.2.0"
shellexpand = "3.1.0"
spl-associated-token-account = "1"
tokio = "~1.14.1"

[profile.release]
overflow-checks = true
lto = "fat"
Expand Down
20 changes: 10 additions & 10 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ authors = ["tian <tian@racoons.dev>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anchor-lang = "0.28.0"
anchor-spl = "0.28.0"
anchor-client={version="0.28.0", features=["async"]}
clap = { version = "4.3.3", features = ["derive"] }
anyhow = "1.0.71"
shellexpand = "3.1.0"
anchor-lang.workspace = true
anchor-spl.workspace = true
anchor-client = { workspace = true, features=["async"] }
clap = { workspace = true, features = ["derive"] }
anyhow.workspace = true
shellexpand.workspace = true
rust_decimal = { version = "1.31.0", features = ["maths"] }
lb_clmm = { path = "../programs/lb_clmm", features = ["cpi"] }
spl-associated-token-account = "1"
mpl-token-metadata = "3.0.1"
spl-associated-token-account.workspace = true
mpl-token-metadata.workspace = true
rand = "0.8.5"
tokio = {version = "~1.14.1", features = ["full", "parking_lot"]}
tokio = { workspace = true, features = ["full", "parking_lot"] }

[dev-dependencies]
proptest = "1.2.0"
proptest.workspace = true
16 changes: 8 additions & 8 deletions market_making/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ edition = "2021"
authors = ["andrew <andrew@racoons.dev>"]

[dependencies]
tokio = {version = "~1.14.1", features = ["full"] }
tokio = { workspace = true, features = ["full"] }
hyper = { version = "0.14.17", features = ["full"] }
routerify = "3"
ureq = { version = "2.0.0", features = ["json"]}
anchor-client={version="0.28.0", features=["async"]}
anchor-spl="0.28.0"
anchor-lang="0.28.0"
anchor-client = { workspace = true, features=["async"] }
anchor-spl.workspace = true
anchor-lang.workspace = true
env_logger="0.9.0"
log="0.4.17"
clap = { version = "4.3.3", features = ["derive"] }
shellexpand = "3.1.0"
anyhow = "1.0.71"
clap = { workspace = true, features = ["derive"] }
shellexpand.workspace = true
anyhow.workspace = true
lb_clmm = { path = "../programs/lb_clmm", features = ["cpi"] }
serde_json = "1.0.48"
serde = { version = "1.0.104", features = ["derive"] }
spl-associated-token-account = "1"
spl-associated-token-account.workspace = true
solana-transaction-status="1.16.12"
bs58 = "0.5.0"
chrono="0.4.31"
Expand Down
8 changes: 4 additions & 4 deletions programs/lb_clmm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ alpha-access = []
test-bpf = []

[dependencies]
anchor-lang = { version = "0.28.0", features = ["event-cpi"] }
anchor-spl = "0.28.0"
anchor-lang = { workspace = true, features = ["event-cpi"] }
anchor-spl.workspace = true
uint = "0.8.5"
bytemuck = { version = "1.13.1", features = ["derive", "min_const_generics"] }
ruint = "1.3.0"
num-traits = "0.2.16"
num-integer = "0.1.45"
mpl-token-metadata = "3.0.1"
mpl-token-metadata.workspace = true
solana-program = "1.16.0"
num_enum = "0.7.1"

[dev-dependencies]
proptest = "1.2.0"
proptest.workspace = true
rand = "0.7.3"
solana-program-test = "1.16.0"
solana-sdk = "1.16.0"
Expand Down