mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 14:47:55 +00:00
ed421c56ee
* Rewrites `impl_runtime_apis!` macro as `proc-macro` * Adds some documentation * Require the `impl_runtime_apis` to use a path for accessing the trait * Make the runtime implement `GetNodeBlockType` * Moves first chunk of runtime api code into the `impl_runtime_apis` macro This also renames `ClientWithApi` into `RuntimeApi`. * Make `impl_runtime_apis` use `runtime` api version automatically * `decl_runtime_apis` automatically adds `Block: BlockT` as generic parameter * Remove function generic arguments in block builder api * Remove some unnused stuff from the `decl_runtime_apis` macro * Make `InherentData` working again * Make `impl_runtime_apis!` implement the `RuntimeApi` side as well * Make it compile again after rebasing with master * Split `sr-api-macros` into multiple files * Reimplement `decl_runtime_apis!` as proc_macro * Use `decl_runtime_apis!` for `Core` as well and improve error reporting * Adds documentation for `decl_runtime_apis!` and `impl_runtime_apis!` * Move some code * Adds compile fail tests * Adds a test and fixes some bugs * Make `impl_runtime_apis!` support `_` as parameter name * Fixes build errors with wasm * Wasm rebuild after master rebase * Apply suggestions from code review Co-Authored-By: bkchr <bkchr@users.noreply.github.com> * Addresses some grumbles * Adds test to ensure that method signatures need to match * New wasm files
92 lines
1.8 KiB
TOML
92 lines
1.8 KiB
TOML
[[bin]]
|
|
name = "substrate"
|
|
path = "node/src/main.rs"
|
|
|
|
[package]
|
|
name = "substrate"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
error-chain = "0.12"
|
|
node-cli = { path = "node/cli" }
|
|
futures = "0.1"
|
|
ctrlc = { version = "3.0", features = ["termination"] }
|
|
|
|
[build-dependencies]
|
|
vergen = "2"
|
|
|
|
[workspace]
|
|
members = [
|
|
"core/cli",
|
|
"core/client",
|
|
"core/client/db",
|
|
"core/consensus/common",
|
|
"core/consensus/aura",
|
|
"core/consensus/rhd",
|
|
"core/executor",
|
|
"core/finality-grandpa",
|
|
"core/finality-grandpa/primitives",
|
|
"core/keyring",
|
|
"core/network",
|
|
"core/primitives",
|
|
"core/rpc",
|
|
"core/rpc-servers",
|
|
"core/sr-io",
|
|
"core/sr-sandbox",
|
|
"core/sr-std",
|
|
"core/sr-version",
|
|
"core/transaction-pool",
|
|
"core/transaction-pool/graph",
|
|
"srml/support",
|
|
"srml/assets",
|
|
"srml/balances",
|
|
"srml/consensus",
|
|
"srml/contract",
|
|
"srml/council",
|
|
"srml/democracy",
|
|
"srml/example",
|
|
"srml/executive",
|
|
"srml/grandpa",
|
|
"srml/metadata",
|
|
"core/sr-primitives",
|
|
"srml/session",
|
|
"srml/staking",
|
|
"srml/system",
|
|
"srml/timestamp",
|
|
"srml/treasury",
|
|
"srml/upgrade-key",
|
|
"core/serializer",
|
|
"core/service",
|
|
"core/service/test",
|
|
"core/sr-api-macros",
|
|
"core/state-machine",
|
|
"core/test-runtime",
|
|
"core/telemetry",
|
|
"core/trie",
|
|
"core/keystore",
|
|
"node/cli",
|
|
"node/executor",
|
|
"node/primitives",
|
|
"node/runtime",
|
|
"subkey",
|
|
]
|
|
exclude = [
|
|
"node/runtime/wasm",
|
|
"core/executor/wasm",
|
|
"pwasm-alloc",
|
|
"core/test-runtime/wasm",
|
|
"test-utils/chain-spec-builder"
|
|
]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "paritytech/substrate", branch = "master" }
|
|
maintenance = { status = "actively-developed" }
|
|
is-it-maintained-issue-resolution = { repository = "paritytech/substrate" }
|
|
is-it-maintained-open-issues = { repository = "paritytech/substrate" }
|
|
|
|
[profile.release]
|
|
# Substrate runtime requires unwinding.
|
|
panic = "unwind"
|