[package]
name = "sp-tracing"
version = "14.0.0"
license = "Apache-2.0"
authors.workspace = true
edition.workspace = true
homepage = "https://substrate.io"
repository.workspace = true
description = "Instrumentation primitives and macros for Substrate."
readme = "README.md"
[package.metadata.docs.rs]
default-target = "wasm32-unknown-unknown"
features = ["with-tracing"]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[dependencies]
sp-std = { path = "../std", default-features = false, version = "12.0.0" }
codec = { version = "3.6.1", package = "parity-scale-codec", default-features = false, features = [
"derive",
] }
tracing = { version = "0.1.29", default-features = false }
tracing-core = { version = "0.1.28", default-features = false }
tracing-subscriber = { version = "0.2.25", optional = true, features = [
"tracing-log",
] }
[features]
default = [ "std" ]
with-tracing = [ "codec/derive", "codec/full" ]
std = [
"codec/std",
"sp-std/std",
"tracing-core/std",
"tracing-subscriber",
"tracing/std",
"with-tracing",
]