serum-dex/dex/Cargo.toml

58 lines
1.2 KiB
TOML
Raw Normal View History

2020-09-09 04:40:25 -07:00
[package]
name = "serum_dex"
2022-02-14 07:47:08 -08:00
version = "0.5.5"
2020-09-09 04:40:25 -07:00
description = "Serum DEX"
repository = "https://github.com/project-serum/serum-dex"
edition = "2018"
2021-04-29 23:37:05 -07:00
license = "Apache-2.0"
authors = ["Serum Foundation <foundation@projectserum.com>"]
2020-09-09 04:40:25 -07:00
[features]
program = []
client = []
fuzz = ["arbitrary"]
test = []
default = ["program"]
no-entrypoint = []
2020-09-09 04:40:25 -07:00
[dependencies]
2021-07-26 15:25:10 -07:00
solana-program = "1.6.18"
spl-token = { version = "3.0.0-pre1", features = ["no-entrypoint"] }
2020-09-09 04:40:25 -07:00
serde = "1.0.114"
itertools = "0.9.0"
without-alloc = "0.2.1"
num_enum = "0.5.0"
static_assertions = "1.1.0"
bincode = "1.3.1"
enumflags2 = "0.6.4"
2021-07-26 16:47:44 -07:00
field-offset = "0.3.4"
2020-09-09 04:40:25 -07:00
thiserror = "1.0.20"
safe-transmute = "0.11.0"
arbitrary = { version = "0.4.6", features = ["derive"], optional = true }
num-traits = "0.2.12"
arrayref = "0.3.6"
bytemuck = { version = "1.4.0" }
byteorder = "1.3.4"
2020-09-09 04:40:25 -07:00
[lib]
crate-type = ["cdylib", "lib"]
[dev-dependencies]
rand = "0.7.3"
hexdump = "0.1.0"
proptest = "1.0.0"
proptest-derive = "0.3.0"
2020-09-09 04:40:25 -07:00
bumpalo = { version = "3.4.0", features = ["collections"] }
[profile.release]
lto = "fat"
codegen-units = 1
[profile.release.build-override]
opt-level = 3
incremental = false
codegen-units = 1
2020-09-09 04:40:25 -07:00
[profile.test]
opt-level = 2