mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 01:07:57 +00:00
4132a49fbb
* Adds new `ProvideInherent` trait Also implements the new trait for `srml/consensus` and `srml/timestamp`. * Adds `impl_outer_inherent!` macro * Reexport macros from `alloc` * Introduce `RuntimeString` and fix `ProvideInherent` on `no_std` * Replace `VersionString` with `RuntimeString` * Improvements for `impl_outer_inherent!` * Make `construct_runtime!` support `impl_outer_inherent!` * Fixes after rebase * Whitespace
34 lines
965 B
TOML
34 lines
965 B
TOML
[package]
|
|
name = "sr-primitives"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[dependencies]
|
|
num-traits = { version = "0.2", default-features = false }
|
|
integer-sqrt = { git = "https://github.com/paritytech/integer-sqrt-rs.git", branch = "master" }
|
|
serde = { version = "1.0", optional = true }
|
|
serde_derive = { version = "1.0", optional = true }
|
|
parity-codec = { version = "2.1", default-features = false }
|
|
parity-codec-derive = { version = "2.1", default-features = false }
|
|
substrate-primitives = { path = "../primitives", default-features = false }
|
|
sr-std = { path = "../sr-std", default-features = false }
|
|
sr-io = { path = "../sr-io", default-features = false }
|
|
log = {version = "0.4", optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1.0"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"num-traits/std",
|
|
"serde",
|
|
"serde_derive",
|
|
"log",
|
|
"sr-std/std",
|
|
"sr-io/std",
|
|
"parity-codec/std",
|
|
"substrate-primitives/std",
|
|
]
|
|
api-for-runtime = []
|