2022-01-21 10:21:46 -08:00
|
|
|
[package]
|
|
|
|
name = "mango-v4"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Created with Anchor"
|
2022-02-23 01:55:23 -08:00
|
|
|
edition = "2021"
|
2022-01-21 10:21:46 -08:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "lib"]
|
|
|
|
name = "mango_v4"
|
2022-01-21 10:25:13 -08:00
|
|
|
doctest = false
|
2022-01-21 10:21:46 -08:00
|
|
|
|
|
|
|
[features]
|
|
|
|
no-entrypoint = []
|
|
|
|
no-idl = []
|
|
|
|
no-log-ix-name = []
|
|
|
|
cpi = ["no-entrypoint"]
|
|
|
|
default = []
|
2022-02-25 04:10:51 -08:00
|
|
|
test-bpf = []
|
2022-06-18 07:31:28 -07:00
|
|
|
client = ["solana-sdk"]
|
2022-01-21 10:21:46 -08:00
|
|
|
|
|
|
|
[dependencies]
|
2022-03-02 12:11:05 -08:00
|
|
|
# todo: when to fix, when to use caret? need a regular chore to bump dependencies
|
|
|
|
# note: possibly need init-if-needed feature
|
2022-05-18 08:16:14 -07:00
|
|
|
anchor-lang = { version = "0.24.2", features = [] }
|
|
|
|
anchor-spl = { version = "0.24.2", features = [] }
|
2022-06-18 07:38:46 -07:00
|
|
|
arrayref = "0.3.6"
|
|
|
|
bincode = "1.3.3"
|
2022-03-02 12:11:05 -08:00
|
|
|
bytemuck = "^1.7.2"
|
2022-06-18 07:38:46 -07:00
|
|
|
checked_math = { path = "../../lib/checked_math" }
|
|
|
|
fixed = { version = "=1.11.0", features = ["serde", "borsh"] } # todo: higher versions don't work
|
2022-02-10 01:04:47 -08:00
|
|
|
fixed-macro = "^1.1.1"
|
2022-06-18 07:38:46 -07:00
|
|
|
mango-macro = { path = "../../mango-macro" }
|
|
|
|
num_enum = "0.5.1"
|
2022-05-18 08:16:14 -07:00
|
|
|
pyth-sdk-solana = "0.1.0"
|
2022-02-28 06:42:14 -08:00
|
|
|
serde = "^1.0"
|
2022-06-18 07:38:46 -07:00
|
|
|
serum_dex = { version = "0.4.0", git = "https://github.com/blockworks-foundation/serum-dex.git", default-features=false,features = ["no-entrypoint", "program"] }
|
2022-05-18 08:16:14 -07:00
|
|
|
solana-program = "~1.9.13"
|
2022-06-18 07:31:28 -07:00
|
|
|
solana-sdk = { version = "~1.9.13", default-features = false, optional = true }
|
2022-06-18 07:38:46 -07:00
|
|
|
static_assertions = "1.1"
|
|
|
|
switchboard-program = ">=0.2.0"
|
|
|
|
switchboard-utils = ">=0.1.36"
|
|
|
|
switchboard-v2 = "0.1.10"
|
|
|
|
|
2022-02-25 04:10:51 -08:00
|
|
|
[dev-dependencies]
|
2022-05-18 08:16:14 -07:00
|
|
|
solana-sdk = { version = "~1.9.13", default-features = false }
|
|
|
|
solana-program-test = "~1.9.13"
|
|
|
|
solana-logger = "~1.9.13"
|
2022-02-25 04:10:51 -08:00
|
|
|
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"
|
2022-03-04 05:30:53 -08:00
|
|
|
margin-trade = { path = "../margin-trade", features = ["cpi"] }
|
2022-03-29 02:49:26 -07:00
|
|
|
itertools = "0.10.3"
|
2022-04-02 04:51:04 -07:00
|
|
|
rand = "0.8.4"
|