Files
pezkuwi-subxt/substrate/Cargo.toml
T
Bastian Köcher 5d64be26c3 Replace JSON metadata with custom metadata structures (#766)
* Move module metadata from json string to custom metadata

* Revisit the metadata structures

1. Move the structures into the metadata crate.
2. Switch to using Cow/MaybeOwnedArray to support Encode/Decode

* Adapt to new metadata structures

* Convert event json metadata to new metadata structures

* Convert storage json metadata to new metadata structures

* Convert runtime metadata from json to new metadata structs

* Implements new metadata structures in client and runtime

* Fixes errors on `no_std`

* Fixes errors after rebasing master

* Do not use `Cow` anymore in metadata

Also replace `String` with our own type definition `StringBuf`.
This fixes compilation on `no_std`.

* Wrap `RuntimeMetadata` in `RuntimeMetadataVersioned` to support versioning

* Move metadata into `srml` and make core unaware of the implementation
2018-09-20 07:35:32 +02:00

89 lines
1.7 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 = "0.1"
[workspace]
members = [
"core/bft",
"core/cli",
"core/client",
"core/client/db",
"core/executor",
"core/extrinsic-pool",
"core/keyring",
"core/misbehavior-check",
"core/network",
"core/primitives",
"core/rpc",
"core/rpc-servers",
"core/sr-io",
"core/sr-sandbox",
"core/sr-std",
"core/sr-version",
"srml/support",
"srml/balances",
"srml/consensus",
"srml/contract",
"srml/council",
"srml/democracy",
"srml/example",
"srml/executive",
"srml/metadata",
"core/sr-primitives",
"srml/session",
"srml/staking",
"srml/system",
"srml/timestamp",
"srml/treasury",
"core/serializer",
"core/service",
"core/state-db",
"core/state-machine",
"core/test-runtime",
"core/telemetry",
"core/keystore",
"node/cli",
"node/api",
"node/consensus",
"node/executor",
"node/network",
"node/primitives",
"node/runtime",
"node/service",
"node/transaction-pool",
"subkey",
]
exclude = [
"node/runtime/wasm",
"core/executor/wasm",
"pwasm-alloc",
"core/test-runtime/wasm",
]
[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"