mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
Allows us to finally remove the old `serai-dex/substrate` repository _and_ should have CI pass without issue on `develop` again. The changes made here should be trivial and maintain all prior behavior/functionality. The most notable are to `chain_spec.rs`, in order to still use a SCALE-encoded `GenesisConfig` (avoiding `serde_json`).
67 lines
2.3 KiB
TOML
67 lines
2.3 KiB
TOML
[package]
|
|
name = "serai-coins-pallet"
|
|
version = "0.1.0"
|
|
description = "Coins pallet for Serai"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/coins/pallet"
|
|
authors = ["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"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
|
|
|
|
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "7f2a8865cd0ded35e1d62fc330915d44dfa3beab", default-features = false }
|
|
frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "7f2a8865cd0ded35e1d62fc330915d44dfa3beab", default-features = false }
|
|
|
|
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "7f2a8865cd0ded35e1d62fc330915d44dfa3beab", default-features = false }
|
|
sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "7f2a8865cd0ded35e1d62fc330915d44dfa3beab", default-features = false }
|
|
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "7f2a8865cd0ded35e1d62fc330915d44dfa3beab", default-features = false }
|
|
|
|
pallet-transaction-payment = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "7f2a8865cd0ded35e1d62fc330915d44dfa3beab", default-features = false }
|
|
|
|
serai-primitives = { path = "../../primitives", default-features = false, features = ["serde"] }
|
|
coins-primitives = { package = "serai-coins-primitives", path = "../primitives", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "7f2a8865cd0ded35e1d62fc330915d44dfa3beab", default-features = false, features = ["std"] }
|
|
|
|
[features]
|
|
std = [
|
|
"frame-system/std",
|
|
"frame-support/std",
|
|
|
|
"sp-core/std",
|
|
"sp-std/std",
|
|
"sp-runtime/std",
|
|
|
|
"pallet-transaction-payment/std",
|
|
|
|
"serai-primitives/std",
|
|
"coins-primitives/std",
|
|
]
|
|
|
|
try-runtime = [
|
|
"frame-system/try-runtime",
|
|
"frame-support/try-runtime",
|
|
|
|
"sp-runtime/try-runtime",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"frame-system/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
]
|
|
|
|
default = ["std"]
|