64 lines
1.9 KiB
TOML
64 lines
1.9 KiB
TOML
cargo-features = ["workspace-inheritance"]
|
|
|
|
[package]
|
|
name = "mango-v4"
|
|
version = "0.17.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 = ["client"]
|
|
client = ["solana-sdk", "no-entrypoint"]
|
|
# Enables GPL-licensed parts of the code. See LICENSE file.
|
|
enable-gpl = []
|
|
|
|
[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 = { workspace = true }
|
|
anchor-spl = { workspace = true }
|
|
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"] }
|
|
default-env = "0.1.1"
|
|
derivative = "2.2.0"
|
|
fixed = { workspace = true, features = ["serde", "borsh", "debug-assert-in-release"] }
|
|
num_enum = "0.5.1"
|
|
pyth-sdk-solana = { workspace = true }
|
|
serde = "^1.0"
|
|
serum_dex = { workspace = true, default-features=false, features = ["no-entrypoint", "program"] }
|
|
solana-address-lookup-table-program = { workspace = true }
|
|
solana-program = { workspace = true }
|
|
solana-sdk = { workspace = true, 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"
|
|
|
|
[dev-dependencies]
|
|
solana-sdk = { workspace = true, default-features = false }
|
|
solana-program-test = { workspace = true }
|
|
solana-logger = { workspace = true }
|
|
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"
|
|
itertools = "0.10.3"
|
|
rand = "0.8.4"
|
|
lazy_static = "1.4.0"
|
|
num = "0.4.0"
|