-
Notifications
You must be signed in to change notification settings - Fork 124
/
Cargo.toml
59 lines (53 loc) · 1.44 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Note: This crate must be built using do.sh
[package]
name = "raydium_amm"
version = "0.3.1"
description = "Raydium AMM"
authors = ["Raydium Maintainers "]
repository = "https://github.com/raydium-io/raydium-amm"
license = "Apache-2.0"
edition = "2021"
[features]
no-entrypoint = ["serum_dex/no-entrypoint"]
program = ["serum_dex/program", "serum_dex/no-entrypoint"]
default = ["program"]
client = ["serum_dex/client"]
devnet = []
testnet = []
[lib]
name = "raydium_amm"
crate-type = ["cdylib", "lib"]
[dependencies]
solana-program = "<1.17.0"
spl-token = { version = "4.0.0", features = ["no-entrypoint"] }
spl-associated-token-account = { version = "2.2.0", features = [
"no-entrypoint",
] }
serum_dex = { version = "0.5.10", git = "https://github.com/raydium-io/openbook-dex", features = [
"no-entrypoint",
"program",
] }
solana-security-txt = "1.1.1"
serde_json = { version = "1.0.56" }
serde = { version = "1.0", features = ["derive"] }
bincode = { version = "1.3.3" }
base64 = "0.13.0"
arrayref = "0.3.6"
arrform = { git = "https://github.com/raydium-io/arrform" }
num-derive = "0.3"
num-traits = "0.2.12"
bytemuck = { version = "1.4.0" }
safe-transmute = "0.11.0"
thiserror = "1.0.20"
uint = "0.9.5"
[dev-dependencies]
bumpalo = { version = "3.4.0", features = ["collections"] }
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
overflow-checks = true
[profile.release.build-override]
opt-level = 3
incremental = false
codegen-units = 1