mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Adds a deny entry for `is-terminal` to stop it from secretly reappearing. Restores the `is-terminal` patch for `is_terminal_polyfill` to have one less external dependency.
56 lines
1.9 KiB
TOML
56 lines
1.9 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"
|
|
authors = ["Akil Demir <akildemir72@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.85"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
|
|
|
|
sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "311aa66887309af7bf455b4fdfd1ab59e24deea7", default-features = false }
|
|
sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "311aa66887309af7bf455b4fdfd1ab59e24deea7", default-features = false }
|
|
sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "311aa66887309af7bf455b4fdfd1ab59e24deea7", default-features = false }
|
|
|
|
frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "311aa66887309af7bf455b4fdfd1ab59e24deea7", default-features = false }
|
|
frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "311aa66887309af7bf455b4fdfd1ab59e24deea7", default-features = false }
|
|
|
|
serai-primitives = { path = "../primitives", default-features = false, features = ["serde", "non_canonical_scale_derivations"] }
|
|
|
|
[dev-dependencies]
|
|
sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "311aa66887309af7bf455b4fdfd1ab59e24deea7", default-features = false, features = ["std"] }
|
|
|
|
[features]
|
|
std = [
|
|
"sp-core/std",
|
|
"sp-std/std",
|
|
"sp-runtime/std",
|
|
|
|
"frame-system/std",
|
|
"frame-support/std",
|
|
|
|
"serai-primitives/std",
|
|
]
|
|
|
|
try-runtime = [
|
|
"frame-system/try-runtime",
|
|
"frame-support/try-runtime",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"frame-system/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
]
|
|
|
|
default = ["std"]
|