mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
c511a54d18
Uses a full-fledged serai-abi to do so. Removes use of UncheckedExtrinsic as a pointlessly (for us) length-prefixed block with a more complicated signing algorithm than advantageous. In the future, we should considering consolidating the various primitives crates. I'm not convinced we benefit from one primitives crate per pallet.
34 lines
1.4 KiB
TOML
34 lines
1.4 KiB
TOML
[package]
|
|
name = "serai-primitives"
|
|
version = "0.1.0"
|
|
description = "Primitives for the Serai blockchain"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/primitives"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.69"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
zeroize = { version = "^1.5", features = ["derive"], optional = true }
|
|
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2", default-features = false, features = ["derive"] }
|
|
|
|
borsh = { version = "1", default-features = false, features = ["derive", "de_strict_order"], optional = true }
|
|
serde = { version = "1", default-features = false, features = ["derive", "alloc"], optional = true }
|
|
|
|
sp-application-crypto = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-core = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
[features]
|
|
std = ["zeroize", "scale/std", "borsh?/std", "serde?/std", "scale-info/std", "sp-core/std", "sp-runtime/std", "frame-support/std"]
|
|
borsh = ["dep:borsh"]
|
|
serde = ["dep:serde"]
|
|
default = ["std"]
|