mango-v4/programs/mango-v4/Cargo.toml

62 lines
1.9 KiB
TOML
Raw Normal View History

[package]
name = "mango-v4"
2023-01-13 02:38:56 -08:00
version = "0.3.0"
description = "Created with Anchor"
2022-02-23 01:55:23 -08:00
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 = []
2022-08-14 13:18:36 -07:00
test-bpf = ["client"]
client = ["solana-sdk"]
[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 = { path = "../../anchor/lang" }
anchor-spl = { path = "../../anchor/spl" }
arrayref = "0.3.6"
bincode = "1.3.3"
borsh = { version = "0.9.3", features = ["const-generics"] }
bytemuck = { version = "^1.7.2", features = ["min_const_generics"] }
checked_math = { path = "../../lib/checked_math" }
default-env = "0.1.1"
derivative = "2.2.0"
fixed = { version = "=1.11.0", features = ["serde", "borsh"] } # todo: higher versions don't work
fixed-macro = "^1.1.1"
num_enum = "0.5.1"
pyth-sdk-solana = "0.1.0"
serde = "^1.0"
serum_dex = { version = "0.5.6", git = "https://github.com/blockworks-foundation/serum-dex.git", default-features=false,features = ["no-entrypoint", "program"], branch = "ckamm/find_by_key" }
solana-address-lookup-table-program = "~1.14.9"
solana-program = "~1.14.9"
solana-sdk = { version = "~1.14.9", default-features = false, optional = true }
solana-security-txt = "1.1.0"
static_assertions = "1.1"
switchboard-program = ">=0.2.0"
switchboard-v2 = "0.1.17"
2022-02-25 04:10:51 -08:00
[dev-dependencies]
solana-sdk = { version = "~1.14.9", default-features = false }
solana-program-test = "~1.14.9"
solana-logger = "~1.14.9"
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-29 02:49:26 -07:00
itertools = "0.10.3"
2022-04-02 04:51:04 -07:00
rand = "0.8.4"
2022-08-22 05:13:25 -07:00
lazy_static = "1.4.0"
2022-12-08 04:36:51 -08:00
num = "0.4.0"