2023-10-19 13:22:21 +03:00
|
|
|
[package]
|
|
|
|
|
name = "serai-coins-pallet"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = "Coins pallet for Serai"
|
|
|
|
|
license = "AGPL-3.0-only"
|
2025-02-26 14:49:28 -05:00
|
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/coins"
|
2024-08-02 10:51:09 +03:00
|
|
|
authors = ["Akil Demir <akildemir72@gmail.com>"]
|
2023-10-19 13:22:21 +03:00
|
|
|
edition = "2021"
|
2025-08-26 14:04:39 -04:00
|
|
|
rust-version = "1.85"
|
2023-10-19 13:22:21 +03:00
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
all-features = true
|
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
2023-12-16 20:54:24 -05:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|
|
|
|
|
|
2023-10-19 13:22:21 +03:00
|
|
|
[dependencies]
|
2023-12-11 07:47:23 -05:00
|
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
|
2023-10-19 13:22:21 +03:00
|
|
|
|
2025-11-22 08:54:46 -05:00
|
|
|
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "5d194a8965b1ce24bac0ece84bae5ad05c30fffb", default-features = false }
|
2023-10-19 13:22:21 +03:00
|
|
|
|
2025-11-22 08:54:46 -05:00
|
|
|
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "5d194a8965b1ce24bac0ece84bae5ad05c30fffb", default-features = false }
|
|
|
|
|
frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "5d194a8965b1ce24bac0ece84bae5ad05c30fffb", default-features = false }
|
2023-10-19 13:22:21 +03:00
|
|
|
|
2025-09-19 22:12:45 -04:00
|
|
|
serai-abi = { path = "../abi", default-features = false, features = ["substrate"] }
|
|
|
|
|
serai-core-pallet = { path = "../core", default-features = false }
|
2023-10-19 13:22:21 +03:00
|
|
|
|
2024-10-30 23:05:56 +03:00
|
|
|
[dev-dependencies]
|
2025-09-19 22:12:45 -04:00
|
|
|
borsh = { version = "1", default-features = false, features = ["std", "derive", "de_strict_order"] }
|
|
|
|
|
|
2025-11-22 08:54:46 -05:00
|
|
|
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "5d194a8965b1ce24bac0ece84bae5ad05c30fffb", default-features = false, features = ["std"] }
|
2025-11-14 09:57:18 -05:00
|
|
|
|
2025-11-22 08:54:46 -05:00
|
|
|
pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "5d194a8965b1ce24bac0ece84bae5ad05c30fffb", default-features = false, features = ["std"] }
|
2024-10-30 23:05:56 +03:00
|
|
|
|
2023-10-19 13:22:21 +03:00
|
|
|
[features]
|
|
|
|
|
std = [
|
2025-09-19 22:12:45 -04:00
|
|
|
"scale/std",
|
|
|
|
|
|
2023-10-20 17:53:07 -04:00
|
|
|
"sp-core/std",
|
2023-10-19 13:22:21 +03:00
|
|
|
|
2025-03-06 05:53:18 -05:00
|
|
|
"frame-system/std",
|
|
|
|
|
"frame-support/std",
|
2023-10-19 13:22:21 +03:00
|
|
|
|
2025-09-19 22:12:45 -04:00
|
|
|
"serai-abi/std",
|
|
|
|
|
"serai-core-pallet/std",
|
2023-10-19 13:22:21 +03:00
|
|
|
]
|
|
|
|
|
|
2024-10-30 23:05:56 +03:00
|
|
|
try-runtime = [
|
|
|
|
|
"frame-system/try-runtime",
|
|
|
|
|
"frame-support/try-runtime",
|
2025-09-19 22:12:45 -04:00
|
|
|
|
|
|
|
|
"serai-abi/try-runtime",
|
|
|
|
|
"serai-core-pallet/try-runtime",
|
2024-10-30 23:05:56 +03:00
|
|
|
]
|
2024-06-01 21:46:47 -04:00
|
|
|
|
2023-10-19 13:22:21 +03:00
|
|
|
runtime-benchmarks = [
|
|
|
|
|
"frame-system/runtime-benchmarks",
|
|
|
|
|
"frame-support/runtime-benchmarks",
|
2025-09-19 22:12:45 -04:00
|
|
|
|
|
|
|
|
"serai-core-pallet/runtime-benchmarks",
|
2023-10-19 13:22:21 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
default = ["std"]
|