Files
pezkuwi-subxt/substrate/primitives/tracing/Cargo.toml
T
Folyd 907e52b28c Migrate ProfilingLayer to tracing registry API (#8943)
* Migrate ProfilingLayer to tracing registry API

* Remove the `current_span` field from `BlockSubscriber`.

* Bump the `tracing-subscriber` version

* Fix Gitlab CI
2021-06-10 17:31:49 +00:00

53 lines
1.6 KiB
TOML

[package]
name = "sp-tracing"
version = "3.0.0"
license = "Apache-2.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Instrumentation primitives and macros for Substrate."
readme = "README.md"
[package.metadata.docs.rs]
# let's default to wasm32
default-target = "wasm32-unknown-unknown"
# with the tracing enabled
features = ["with-tracing"]
# allowing for linux-gnu here, too, allows for `std` to show up as well
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[dependencies]
sp-std = { version = "3.0.0", path = "../std", default-features = false}
codec = { version = "2.0.0", package = "parity-scale-codec", default-features = false, features = ["derive"]}
tracing = { version = "0.1.25", default-features = false }
tracing-core = { version = "0.1.17", default-features = false }
log = { version = "0.4.8", optional = true }
tracing-subscriber = { version = "0.2.18", optional = true, features = ["tracing-log"] }
parking_lot = { version = "0.10.0", optional = true }
erased-serde = { version = "0.3.9", optional = true }
serde = { version = "1.0.101", optional = true }
serde_json = { version = "1.0.41", optional = true }
slog = { version = "2.5.2", features = ["nested-values"], optional = true }
[features]
default = [ "std" ]
with-tracing = [
"codec/derive",
"codec/full",
]
std = [
"with-tracing",
"tracing/std",
"tracing-core/std",
"codec/std",
"sp-std/std",
"log",
"tracing-subscriber",
"parking_lot",
"erased-serde",
"serde",
"serde_json",
"slog"
]