mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 03:59:22 +00:00
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[package]
|
|
name = "serai-abi"
|
|
version = "0.1.0"
|
|
description = "ABI for the Serai runtime"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/abi"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.74"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
scale = { package = "parity-scale-codec", version = "3", features = ["derive"] }
|
|
scale-info = { version = "2", features = ["derive"] }
|
|
|
|
borsh = { version = "1", features = ["derive", "de_strict_order"], optional = true }
|
|
serde = { version = "1", features = ["derive", "alloc"], optional = true }
|
|
|
|
sp-core = { git = "https://github.com/serai-dex/substrate" }
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate" }
|
|
|
|
sp-consensus-babe = { git = "https://github.com/serai-dex/substrate" }
|
|
sp-consensus-grandpa = { git = "https://github.com/serai-dex/substrate" }
|
|
|
|
serai-primitives = { path = "../primitives", version = "0.1" }
|
|
serai-coins-primitives = { path = "../coins/primitives", version = "0.1" }
|
|
serai-validator-sets-primitives = { path = "../validator-sets/primitives", version = "0.1" }
|
|
serai-in-instructions-primitives = { path = "../in-instructions/primitives", version = "0.1" }
|
|
serai-signals-primitives = { path = "../signals/primitives", version = "0.1" }
|
|
|
|
frame-support = { git = "https://github.com/serai-dex/substrate" }
|
|
|
|
[features]
|
|
borsh = [
|
|
"dep:borsh",
|
|
"serai-primitives/borsh",
|
|
"serai-coins-primitives/borsh",
|
|
"serai-validator-sets-primitives/borsh",
|
|
"serai-in-instructions-primitives/borsh",
|
|
"serai-signals-primitives/borsh",
|
|
]
|
|
serde = [
|
|
"dep:serde",
|
|
"serai-primitives/serde",
|
|
"serai-coins-primitives/serde",
|
|
"serai-validator-sets-primitives/serde",
|
|
"serai-in-instructions-primitives/serde",
|
|
"serai-signals-primitives/serde",
|
|
]
|