Files
pezkuwi-subxt/substrate/primitives/tracing/Cargo.toml
T
Squirrel be8e626806 Set clippy lints in workspace (requires rust 1.74) (#2390)
We currently use a bit of a hack in `.cargo/config` to make sure that
clippy isn't too annoying by specifying the list of lints.

There is now a stable way to define lints for a workspace. The only down
side is that every crate seems to have to opt into this so there's a
*few* files modified in this PR.

Dependencies:

- [x] PR that upgrades CI to use rust 1.74 is merged.

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
2023-12-13 15:11:07 +01:00

45 lines
1.2 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"
[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]
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.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",
"sp-std/std",
"tracing-core/std",
"tracing-subscriber",
"tracing/std",
"with-tracing",
]