mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 03:48:01 +00:00
145efab68f
* Very WIP * record_metrics macro works * Integrate into service * Licenses and documentation * Remove unused Debugs, make respond function clearer * Conform to line widths, fix service test * Switch to storing the timestamps as millis instead * Update core/grafana-data-source/src/lib.rs Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Transform timestamps to i64 in serialization * Fix license date * Binary sort to find selection range for metrics * Obey maxDataPoints * Run a cleaning future * Newlines at EOF * Update core/service/Cargo.toml Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com> * Update core/grafana-data-source/src/lib.rs Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com> * Fix indentation * Improve select_points * Made test more accurate * Inprogress * Use the same futures version as hyper for now * Error handling * Remove dependence on hyper's tokio feature * Added target_os flag * Update Cargo.toml Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com> * Simplify example * Remove compat wildcard * Updated lock file * Fix indentation 😉
66 lines
3.0 KiB
TOML
66 lines
3.0 KiB
TOML
[package]
|
|
name = "substrate-service"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = ["rocksdb"]
|
|
# The RocksDB feature activates the RocksDB database backend. If it is not activated, and you pass
|
|
# a path to a database, an error will be produced at runtime.
|
|
rocksdb = ["client_db/kvdb-rocksdb"]
|
|
wasmtime = [
|
|
"substrate-executor/wasmtime",
|
|
]
|
|
|
|
[dependencies]
|
|
derive_more = "0.15.0"
|
|
futures = "0.1.29"
|
|
futures03 = { package = "futures", version = "0.3.1", features = ["compat"] }
|
|
parking_lot = "0.9.0"
|
|
lazy_static = "1.4.0"
|
|
log = "0.4.8"
|
|
slog = { version = "2.5.2", features = ["nested-values"] }
|
|
tokio-executor = "0.1.8"
|
|
tokio-timer = "0.2.11"
|
|
exit-future = "0.1.4"
|
|
serde = "1.0.101"
|
|
serde_json = "1.0.41"
|
|
sysinfo = "0.9.5"
|
|
target_info = "0.1.0"
|
|
keystore = { package = "substrate-keystore", path = "../keystore" }
|
|
sr-io = { path = "../../primitives/sr-io" }
|
|
sr-primitives = { path = "../../primitives/sr-primitives" }
|
|
primitives = { package = "substrate-primitives", path = "../../primitives/core" }
|
|
session = { package = "substrate-session", path = "../../primitives/session" }
|
|
app-crypto = { package = "substrate-application-crypto", path = "../../primitives/application-crypto" }
|
|
consensus_common = { package = "substrate-consensus-common", path = "../../primitives/consensus/common" }
|
|
network = { package = "substrate-network", path = "../network" }
|
|
chain-spec = { package = "substrate-chain-spec", path = "../chain-spec" }
|
|
client-api = { package = "substrate-client-api", path = "../api" }
|
|
client = { package = "substrate-client", path = "../" }
|
|
sr-api = { path = "../../primitives/sr-api" }
|
|
tx-pool-api = { package = "substrate-transaction-pool-runtime-api", path = "../../primitives/transaction-pool/runtime-api" }
|
|
client_db = { package = "substrate-client-db", path = "../db" }
|
|
codec = { package = "parity-scale-codec", version = "1.0.0" }
|
|
substrate-executor = { path = "../executor" }
|
|
transaction_pool = { package = "substrate-transaction-pool", path = "../transaction-pool" }
|
|
rpc-servers = { package = "substrate-rpc-servers", path = "../rpc-servers" }
|
|
rpc = { package = "substrate-rpc", path = "../rpc" }
|
|
tel = { package = "substrate-telemetry", path = "../telemetry" }
|
|
offchain = { package = "substrate-offchain", path = "../offchain" }
|
|
parity-multiaddr = { package = "parity-multiaddr", version = "0.5.0" }
|
|
grafana-data-source = { path = "../grafana-data-source" }
|
|
substrate-tracing = { package = "substrate-tracing", path = "../tracing" }
|
|
tracing = "0.1.10"
|
|
|
|
[dev-dependencies]
|
|
substrate-test-runtime-client = { path = "../../test/utils/runtime/client" }
|
|
node-executor = { path = "../../bin/node/executor" }
|
|
node-primitives = { path = "../../bin/node/primitives" }
|
|
node-runtime = { path = "../../bin/node/runtime" }
|
|
babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../../primitives/consensus/babe" }
|
|
grandpa = { package = "substrate-finality-grandpa", path = "../finality-grandpa" }
|
|
grandpa-primitives = { package = "substrate-finality-grandpa-primitives", path = "../../primitives/finality-grandpa" }
|
|
tokio = "0.1"
|