mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-09-28 13:31:52 +00:00

# 0.1.30 (October 6, 2022) This release of `tracing-core` adds a new `on_register_dispatch` method to the `Subscriber` trait to allow the `Subscriber` to perform initialization after being registered as a `Dispatch`, and a `WeakDispatch` type to allow a `Subscriber` to store its own `Dispatch` without creating reference count cycles. ### Added - `Subscriber::on_register_dispatch` method ([#2269]) - `WeakDispatch` type and `Dispatch::downgrade()` function ([#2293]) Thanks to @jswrenn for contributing to this release! [#2269]: https://github.com/tokio-rs/tracing/pull/2269 [#2293]: https://github.com/tokio-rs/tracing/pull/2293
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "tracing-core"
|
|
# When releasing to crates.io:
|
|
# - Remove path dependencies
|
|
# - Update html_root_url.
|
|
# - Update doc url
|
|
# - Cargo.toml
|
|
# - README.md
|
|
# - Update CHANGELOG.md.
|
|
# - Create "v0.1.x" git tag.
|
|
version = "0.1.30"
|
|
authors = ["Tokio Contributors <team@tokio.rs>"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/tokio-rs/tracing"
|
|
homepage = "https://tokio.rs"
|
|
description = """
|
|
Core primitives for application-level tracing.
|
|
"""
|
|
categories = [
|
|
"development-tools::debugging",
|
|
"development-tools::profiling",
|
|
"asynchronous",
|
|
]
|
|
keywords = ["logging", "tracing", "profiling"]
|
|
edition = "2018"
|
|
rust-version = "1.49.0"
|
|
|
|
[features]
|
|
default = ["std", "valuable/std"]
|
|
std = ["once_cell"]
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[dependencies]
|
|
once_cell = { version = "1.13.0", optional = true }
|
|
|
|
[target.'cfg(tracing_unstable)'.dependencies]
|
|
valuable = { version = "0.1.0", optional = true, default-features = false }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
# enable unstable features in the documentation
|
|
rustdoc-args = ["--cfg", "docsrs", "--cfg", "tracing_unstable"]
|
|
# it's necessary to _also_ pass `--cfg tracing_unstable` to rustc, or else
|
|
# dependencies will not be enabled, and the docs build will fail.
|
|
rustc-args = ["--cfg", "tracing_unstable"]
|