54 lines
1.6 KiB
TOML
54 lines
1.6 KiB
TOML
[package]
|
|
name = "mango-v4"
|
|
version = "0.1.0"
|
|
description = "Created with Anchor"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "lib"]
|
|
name = "mango_v4"
|
|
doctest = false
|
|
|
|
[features]
|
|
no-entrypoint = []
|
|
no-idl = []
|
|
no-log-ix-name = []
|
|
cpi = ["no-entrypoint"]
|
|
default = []
|
|
test-bpf = []
|
|
|
|
[dependencies]
|
|
# todo: when to fix, when to use caret? need a regular chore to bump dependencies
|
|
# note: possibly need init-if-needed feature
|
|
anchor-lang = { version = "0.22.0", features = [] }
|
|
anchor-spl = { version = "0.22.0", features = [] }
|
|
bytemuck = "^1.7.2"
|
|
# todo: higher versions don't work
|
|
fixed = { version = "=1.11.0", features = ["serde", "borsh"] }
|
|
fixed-macro = "^1.1.1"
|
|
pyth-client = {version = "0.5.0", features = ["no-entrypoint"]}
|
|
serde = "^1.0"
|
|
solana-program = "1.9.5"
|
|
static_assertions = "1.1"
|
|
serum_dex = { version = "0.4.0", git = "https://github.com/blockworks-foundation/serum-dex.git", default-features=false, features = ["no-entrypoint", "program"] }
|
|
checked_math = { path = "../../lib/checked_math" }
|
|
arrayref = "0.3.6"
|
|
num_enum = "0.5.1"
|
|
bincode = "1.3.3"
|
|
mango-macro = { path = "../../mango-macro" }
|
|
|
|
[dev-dependencies]
|
|
solana-sdk = { version = "1.9.5", default-features = false }
|
|
solana-program-test = "1.9.5"
|
|
solana-logger = "1.9.5"
|
|
spl-token = { version = "^3.0.0", features = ["no-entrypoint"] }
|
|
spl-associated-token-account = { version = "^1.0.3", features = ["no-entrypoint"] }
|
|
bincode = "^1.3.1"
|
|
log = "0.4.14"
|
|
env_logger = "0.9.0"
|
|
base64 = "0.13.0"
|
|
async-trait = "0.1.52"
|
|
margin-trade = { path = "../margin-trade", features = ["cpi"] }
|
|
itertools = "0.10.3"
|
|
rand = "0.8.4"
|