mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
dcda0e50f5
* Fix build profiles Closes https://github.com/paritytech/polkadot-sdk/issues/1155 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Manually set version to 1.0.0 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use workspace repo Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * 'Authors and Edition from workspace Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[package]
|
|
name = "sp-tracing"
|
|
version = "10.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]
|
|
# 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 = { path = "../std", default-features = false }
|
|
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",
|
|
]
|