mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 06:27:57 +00:00
b94cf078af
* Some initial work on RPC and client * Rephrase as params * More work on traitifying substrate. * Traitify in_mem.rs * traitify client.rs * Make new primitives (mainly traits) build again. * Many (superficial) build fixes throughout. * Fix remaining build issues up to bft interface. * Make bft primitives be generic. * Switch out MisBehaviorReport for generic version. * Merge Hashing into Header. * Update runtime for new generics (with Hashing). * Update demo runtime. * Make runtime compile. * Build fixes for runtime * Remove old modules. * port substrate-bft to use generic substrate types * port client * port substrate-test-runtime * mostly port test-runtime to get compiling for std * Ensure `AccountId` has a `Default`. * Fix type deps. * finish porting * initialize test_runtime from genesis correctly * remove commented code * maybe unsigned signatures * runtimes compile * port over most of network * serialization for generic types * fix comment * remove some unnecessary trait bounds * network compiles * tests compile for sync * fix deserialization * temporarily remove deserialize derives * workarounds for serde issues for deriving deserialization * get demo-runtime compiling on std * port extrinsic-pool * primitives reshuffling * get network compiling again * remove debugging file * runtime tests now passing * port client-db * start to port over substrate-rpc * mostly port over PolkadotApi * test_runtime follows normal conventions * substrate runtime tests pass * deal with inherent extrinsics correctly in polkadot-api * port transaction-pool * port polkadot-consensus * port substrate-rpc * everything compiles * tests compile * fix grumbles * test-runtime uses its own transfer type * switch to master branch of jsonrpc * fix network tests and some warnings * all tests pass locally * [ci-skip] add another comment about issue * remove some curlies
55 lines
2.4 KiB
TOML
55 lines
2.4 KiB
TOML
[package]
|
|
name = "polkadot-runtime"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
integer-sqrt = { git = "https://github.com/paritytech/integer-sqrt-rs.git", branch = "master" }
|
|
polkadot-primitives = { path = "../../primitives", default-features = false }
|
|
safe-mix = { path = "../../../safe-mix", default-features = false }
|
|
substrate-codec = { path = "../../../substrate/codec", default-features = false }
|
|
substrate-primitives = { path = "../../../substrate/primitives", default-features = false }
|
|
substrate-runtime-std = { path = "../../../substrate/runtime-std", default-features = false }
|
|
substrate-runtime-io = { path = "../../../substrate/runtime-io", default-features = false }
|
|
substrate-runtime-support = { path = "../../../substrate/runtime-support", default-features = false }
|
|
substrate-runtime-consensus = { path = "../../../substrate/runtime/consensus", default-features = false }
|
|
substrate-runtime-council = { path = "../../../substrate/runtime/council", default-features = false }
|
|
substrate-runtime-democracy = { path = "../../../substrate/runtime/democracy", default-features = false }
|
|
substrate-runtime-executive = { path = "../../../substrate/runtime/executive", default-features = false }
|
|
substrate-runtime-primitives = { path = "../../../substrate/runtime/primitives", default-features = false }
|
|
substrate-runtime-session = { path = "../../../substrate/runtime/session", default-features = false }
|
|
substrate-runtime-staking = { path = "../../../substrate/runtime/staking", default-features = false }
|
|
substrate-runtime-system = { path = "../../../substrate/runtime/system", default-features = false }
|
|
substrate-runtime-timestamp = { path = "../../../substrate/runtime/timestamp", default-features = false }
|
|
|
|
[features]
|
|
default = []
|
|
std = [
|
|
"polkadot-primitives/std",
|
|
"safe-mix/std",
|
|
"substrate-codec/std",
|
|
"substrate-primitives/std",
|
|
"substrate-runtime-std/std",
|
|
"substrate-runtime-io/std",
|
|
"substrate-runtime-support/std",
|
|
"substrate-runtime-consensus/std",
|
|
"substrate-runtime-council/std",
|
|
"substrate-runtime-democracy/std",
|
|
"substrate-runtime-executive/std",
|
|
"substrate-runtime-primitives/std",
|
|
"substrate-runtime-session/std",
|
|
"substrate-runtime-staking/std",
|
|
"substrate-runtime-system/std",
|
|
"substrate-runtime-timestamp/std",
|
|
]
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
|
|
[workspace]
|
|
members = []
|