Files
serai/substrate/dex/Cargo.toml

73 lines
2.0 KiB
TOML
Raw Normal View History

[package]
name = "serai-dex-pallet"
version = "0.1.0"
description = "DEX pallet for Serai"
license = "AGPL-3.0-only"
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/dex"
2025-11-30 21:27:04 -05:00
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
edition = "2021"
rust-version = "1.85"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
2023-12-16 20:54:24 -05:00
[lints]
workspace = true
[dependencies]
2025-11-30 21:27:04 -05:00
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", default-features = false }
2025-11-25 00:06:54 -05:00
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", default-features = false }
frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", default-features = false }
2025-11-30 21:27:04 -05:00
substrate-median = { path = "../median", default-features = false }
2025-11-30 21:27:04 -05:00
serai-abi = { path = "../abi", default-features = false, features = ["substrate"] }
serai-core-pallet = { path = "../core", default-features = false }
serai-coins-pallet = { path = "../coins", default-features = false }
[dev-dependencies]
2025-11-30 21:27:04 -05:00
borsh = { version = "1", default-features = false, features = ["std", "derive", "de_strict_order"] }
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", default-features = false, features = ["std"] }
2025-11-30 21:27:04 -05:00
pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", default-features = false, features = ["std"] }
[features]
std = [
"scale/std",
"sp-core/std",
"frame-system/std",
"frame-support/std",
2025-11-30 21:27:04 -05:00
"substrate-median/std",
2025-11-30 21:27:04 -05:00
"serai-abi/std",
"serai-core-pallet/std",
"serai-coins-pallet/std",
]
2025-11-30 21:27:04 -05:00
try-runtime = [
"frame-system/try-runtime",
"frame-support/try-runtime",
2025-11-30 21:27:04 -05:00
"serai-abi/try-runtime",
"serai-core-pallet/try-runtime",
"serai-coins-pallet/try-runtime",
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"serai-core-pallet/runtime-benchmarks",
"serai-coins-pallet/runtime-benchmarks",
]
2025-11-30 21:27:04 -05:00
default = ["std"]