2023-11-05 17:02:34 +00:00
|
|
|
[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/pallet"
|
2024-08-02 07:51:09 +00:00
|
|
|
authors = ["Parity Technologies <admin@parity.io>, Akil Demir <akildemir72@gmail.com>"]
|
2023-11-05 17:02:34 +00:00
|
|
|
edition = "2021"
|
2024-04-23 08:31:27 +00:00
|
|
|
rust-version = "1.74"
|
2023-11-05 17:02:34 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2023-12-11 12:47:23 +00:00
|
|
|
[package.metadata.cargo-machete]
|
|
|
|
ignored = ["scale", "scale-info"]
|
|
|
|
|
2023-12-17 01:54:24 +00:00
|
|
|
[lints]
|
|
|
|
workspace = true
|
|
|
|
|
2023-11-05 17:02:34 +00:00
|
|
|
[dependencies]
|
2023-12-11 12:47:23 +00:00
|
|
|
scale = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
2023-11-05 17:02:34 +00:00
|
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
|
|
|
|
|
|
sp-std = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
sp-io = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
sp-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
sp-core = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
|
|
|
|
frame-system = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
frame-benchmarking = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true }
|
|
|
|
|
2023-11-12 11:37:31 +00:00
|
|
|
coins-pallet = { package = "serai-coins-pallet", path = "../../coins/pallet", default-features = false }
|
2023-11-05 17:02:34 +00:00
|
|
|
|
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
|
|
|
|
2024-02-20 01:50:04 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
|
|
|
|
2023-11-05 17:02:34 +00:00
|
|
|
[features]
|
|
|
|
default = ["std"]
|
|
|
|
std = [
|
2023-12-11 12:47:23 +00:00
|
|
|
"scale/std",
|
2023-11-05 17:02:34 +00:00
|
|
|
"scale-info/std",
|
|
|
|
|
|
|
|
"sp-std/std",
|
|
|
|
"sp-io/std",
|
|
|
|
"sp-api/std",
|
|
|
|
"sp-runtime/std",
|
|
|
|
"sp-core/std",
|
|
|
|
|
|
|
|
"serai-primitives/std",
|
|
|
|
|
|
|
|
"frame-system/std",
|
|
|
|
"frame-support/std",
|
|
|
|
"frame-benchmarking?/std",
|
|
|
|
|
|
|
|
"coins-pallet/std",
|
|
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
|
|
"sp-runtime/runtime-benchmarks",
|
|
|
|
|
|
|
|
"frame-system/runtime-benchmarks",
|
|
|
|
"frame-support/runtime-benchmarks",
|
|
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
|
|
]
|
|
|
|
try-runtime = [
|
|
|
|
"sp-runtime/try-runtime",
|
|
|
|
|
|
|
|
"frame-system/try-runtime",
|
|
|
|
"frame-support/try-runtime",
|
|
|
|
]
|