mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 11:39:35 +00:00
a506d74d69
Some checks are pending
Full Stack Tests / build (push) Waiting to run
Lint / machete (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 / clippy (macos-13) (push) Waiting to run
Lint / fmt (push) Waiting to run
Reproducible Runtime / build (push) Waiting to run
Tests / test-infra (push) Waiting to run
Tests / test-substrate (push) Waiting to run
Tests / test-serai-client (push) Waiting to run
* move economic security into it's own pallet * fix deny * Update Cargo.toml, .github for the new crates * Remove unused import --------- Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
[package]
|
|
name = "serai-economic-security-pallet"
|
|
version = "0.1.0"
|
|
description = "Economic Security pallet for Serai"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/economic-security/pallet"
|
|
authors = ["Akil Demir <akildemir72@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.77"
|
|
|
|
[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", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2", default-features = false, features = ["derive"] }
|
|
|
|
frame-system = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
dex-pallet = { package = "serai-dex-pallet", path = "../../dex/pallet", default-features = false }
|
|
coins-pallet = { package = "serai-coins-pallet", path = "../../coins/pallet", default-features = false }
|
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
|
|
|
[features]
|
|
std = [
|
|
"scale/std",
|
|
"scale-info/std",
|
|
|
|
"frame-system/std",
|
|
"frame-support/std",
|
|
|
|
"dex-pallet/std",
|
|
"coins-pallet/std",
|
|
|
|
"serai-primitives/std",
|
|
]
|
|
try-runtime = [] # TODO
|
|
|
|
default = ["std"]
|