2023-10-22 00:06:53 +00:00
|
|
|
[package]
|
|
|
|
name = "serai-signals-pallet"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Signals pallet"
|
|
|
|
license = "AGPL-3.0-only"
|
|
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/signals/pallet"
|
|
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
|
|
edition = "2021"
|
2023-11-21 06:19:40 +00:00
|
|
|
rust-version = "1.74"
|
2023-10-22 00:06:53 +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-10-22 00:06:53 +00:00
|
|
|
[dependencies]
|
|
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
|
|
|
|
scale-info = { version = "2", default-features = false, features = ["derive"] }
|
|
|
|
|
|
|
|
sp-core = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
sp-io = { 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 }
|
|
|
|
|
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
2023-12-06 14:53:06 +00:00
|
|
|
serai-signals-primitives = { path = "../primitives", default-features = false }
|
|
|
|
|
2023-10-22 00:06:53 +00:00
|
|
|
validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../../validator-sets/pallet", default-features = false }
|
2023-11-25 00:56:57 +00:00
|
|
|
in-instructions-pallet = { package = "serai-in-instructions-pallet", path = "../../in-instructions/pallet", default-features = false }
|
2023-10-22 00:06:53 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
std = [
|
|
|
|
"scale/std",
|
|
|
|
"scale-info/std",
|
|
|
|
|
|
|
|
"sp-core/std",
|
|
|
|
"sp-io/std",
|
|
|
|
|
|
|
|
"frame-system/std",
|
|
|
|
"frame-support/std",
|
|
|
|
|
|
|
|
"serai-primitives/std",
|
2023-12-06 14:53:06 +00:00
|
|
|
"serai-signals-primitives/std",
|
|
|
|
|
2023-10-22 00:06:53 +00:00
|
|
|
"validator-sets-pallet/std",
|
2023-11-25 00:56:57 +00:00
|
|
|
"in-instructions-pallet/std",
|
2023-10-22 00:06:53 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
runtime-benchmarks = [
|
|
|
|
"frame-system/runtime-benchmarks",
|
|
|
|
"frame-support/runtime-benchmarks",
|
|
|
|
]
|
|
|
|
|
2024-06-02 01:46:47 +00:00
|
|
|
# TODO
|
|
|
|
try-runtime = []
|
|
|
|
|
2023-10-22 00:06:53 +00:00
|
|
|
default = ["std"]
|