mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-10 21:04:40 +00:00
45 lines
1.4 KiB
TOML
45 lines
1.4 KiB
TOML
|
[package]
|
||
|
name = "serai-dex-primitives"
|
||
|
version = "0.1.0"
|
||
|
description = "Dex pallet primitives"
|
||
|
license = "AGPL-3.0-only"
|
||
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/dex/primitives"
|
||
|
authors = ["Parity Technologies <admin@parity.io>, Akil Demir <aeg_asd@hotmail.com>"]
|
||
|
edition = "2021"
|
||
|
|
||
|
[package.metadata.docs.rs]
|
||
|
all-features = true
|
||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||
|
targets = ["x86_64-unknown-linux-gnu"]
|
||
|
|
||
|
[dependencies]
|
||
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
||
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
||
|
|
||
|
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 }
|
||
|
|
||
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||
|
sp-std = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||
|
|
||
|
serai-primitives = { path = "../../primitives", default-features = false }
|
||
|
|
||
|
[features]
|
||
|
default = [ "std" ]
|
||
|
std = [
|
||
|
"codec/std",
|
||
|
"scale-info/std",
|
||
|
|
||
|
"frame-support/std",
|
||
|
"frame-benchmarking?/std",
|
||
|
|
||
|
"serai-primitives/std",
|
||
|
|
||
|
"sp-runtime/std",
|
||
|
"sp-std/std",
|
||
|
]
|
||
|
runtime-benchmarks = [
|
||
|
"frame-benchmarking/runtime-benchmarks",
|
||
|
"frame-support/runtime-benchmarks",
|
||
|
]
|