mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-27 14:09:48 +00:00
e6620963c7
Some checks failed
Full Stack Tests / build (push) Waiting to run
Lint / clippy (macos-13) (push) Waiting to run
Lint / clippy (macos-14) (push) Waiting to run
Lint / clippy (ubuntu-latest) (push) Waiting to run
Lint / clippy (windows-latest) (push) Waiting to run
Lint / deny (push) Waiting to run
Lint / fmt (push) Waiting to run
Lint / machete (push) Waiting to run
Reproducible Runtime / build (push) Has been cancelled
Tests / test-infra (push) Has been cancelled
Tests / test-substrate (push) Has been cancelled
Tests / test-serai-client (push) Has been cancelled
74 lines
2.2 KiB
TOML
74 lines
2.2 KiB
TOML
[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"
|
|
authors = ["Parity Technologies <admin@parity.io>, Akil Demir <akildemir72@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.74"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["scale", "scale-info"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
scale = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
|
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 }
|
|
|
|
coins-pallet = { package = "serai-coins-pallet", path = "../../coins/pallet", default-features = false }
|
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"scale/std",
|
|
"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",
|
|
]
|