2022-01-21 10:21:46 -08:00
|
|
|
[package]
|
|
|
|
name = "mango-v4"
|
2023-10-04 00:18:57 -07:00
|
|
|
version = "0.20.0"
|
2022-01-21 10:21:46 -08:00
|
|
|
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-08-14 13:18:36 -07:00
|
|
|
test-bpf = ["client"]
|
2023-02-14 23:42:07 -08:00
|
|
|
client = ["solana-sdk", "no-entrypoint"]
|
|
|
|
# Enables GPL-licensed parts of the code. See LICENSE file.
|
2023-10-05 01:56:45 -07:00
|
|
|
enable-gpl = ["openbook-v2/enable-gpl"]
|
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
|
2023-05-17 11:48:14 -07:00
|
|
|
anchor-lang = { workspace = true }
|
|
|
|
anchor-spl = { workspace = true }
|
2022-06-18 07:38:46 -07:00
|
|
|
arrayref = "0.3.6"
|
|
|
|
bincode = "1.3.3"
|
2023-10-05 01:56:45 -07:00
|
|
|
borsh = { version = "0.10.3", features = ["const-generics"] }
|
2022-12-06 00:25:43 -08:00
|
|
|
bytemuck = { version = "^1.7.2", features = ["min_const_generics"] }
|
2023-01-04 10:13:29 -08:00
|
|
|
default-env = "0.1.1"
|
2022-08-12 07:05:32 -07:00
|
|
|
derivative = "2.2.0"
|
2023-05-17 11:48:14 -07:00
|
|
|
fixed = { workspace = true, features = ["serde", "borsh", "debug-assert-in-release"] }
|
2022-06-18 07:38:46 -07:00
|
|
|
num_enum = "0.5.1"
|
2023-05-17 11:48:14 -07:00
|
|
|
pyth-sdk-solana = { workspace = true }
|
2022-02-28 06:42:14 -08:00
|
|
|
serde = "^1.0"
|
2023-10-05 01:56:45 -07:00
|
|
|
serum_dex = { workspace = true, features = ["no-entrypoint", "program"] }
|
2023-05-17 11:48:14 -07:00
|
|
|
solana-address-lookup-table-program = { workspace = true }
|
|
|
|
solana-program = { workspace = true }
|
|
|
|
solana-sdk = { workspace = true, default-features = false, optional = true }
|
2023-01-04 10:13:29 -08:00
|
|
|
solana-security-txt = "1.1.0"
|
2022-06-18 07:38:46 -07:00
|
|
|
static_assertions = "1.1"
|
2023-10-05 01:56:45 -07:00
|
|
|
|
|
|
|
# note: switchboard-common 0.8.19 is broken - use 0.8.18 instead
|
|
|
|
switchboard-program = "0.2"
|
|
|
|
switchboard-v2 = { package = "switchboard-solana", version = "0.28" }
|
|
|
|
|
|
|
|
|
|
|
|
openbook-v2 = { git = "https://github.com/openbook-dex/openbook-v2.git", features = ["no-entrypoint"] }
|
|
|
|
|
2022-06-18 07:38:46 -07:00
|
|
|
|
2022-02-25 04:10:51 -08:00
|
|
|
[dev-dependencies]
|
2023-05-17 11:48:14 -07:00
|
|
|
solana-sdk = { workspace = true, default-features = false }
|
|
|
|
solana-program-test = { workspace = true }
|
|
|
|
solana-logger = { workspace = true }
|
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"
|
2023-10-04 00:18:57 -07:00
|
|
|
regex = "1"
|