mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 03:48:01 +00:00
1b5f4243d1
This PR removes sp-std crate from substrate/primitives sub-directories. For now crates that have `pub use` of sp-std or export macros that would necessitate users of the macros to `extern crate alloc` have been excluded from this PR. There should be no breaking changes in this PR. --------- Co-authored-by: Koute <koute@users.noreply.github.com>
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
name = "sp-tracing"
|
|
version = "16.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"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[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 = ["wasm32-unknown-unknown", "x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
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.32", 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",
|
|
"tracing-core/std",
|
|
"tracing-subscriber",
|
|
"tracing/std",
|
|
"with-tracing",
|
|
]
|