mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
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.85"
|
|
|
|
[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 = "da19e1f8ca7a9e2cbf39fbfa493918eeeb45e10b", default-features = false }
|
|
frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "da19e1f8ca7a9e2cbf39fbfa493918eeeb45e10b", default-features = false }
|
|
|
|
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "da19e1f8ca7a9e2cbf39fbfa493918eeeb45e10b", default-features = false }
|
|
sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "da19e1f8ca7a9e2cbf39fbfa493918eeeb45e10b", default-features = false }
|
|
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "da19e1f8ca7a9e2cbf39fbfa493918eeeb45e10b", default-features = false }
|
|
|
|
pallet-transaction-payment = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "da19e1f8ca7a9e2cbf39fbfa493918eeeb45e10b", 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 = "da19e1f8ca7a9e2cbf39fbfa493918eeeb45e10b", 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"]
|