mirror of
https://github.com/tokio-rs/tracing.git
synced 2026-03-31 03:39:04 +00:00
Update the version of the `matchers` crate to 0.2. This requires also adding a direct dependency on `regex-automata` to enable the `std` feature.
52 lines
1.6 KiB
TOML
52 lines
1.6 KiB
TOML
[package]
|
|
name = "tracing-core"
|
|
# When releasing to crates.io:
|
|
# - Remove path dependencies
|
|
# - Update html_root_url.
|
|
# - Update doc url in README.md.
|
|
# - Update CHANGELOG.md.
|
|
# - Create "v0.2.x" git tag.
|
|
version = "0.2.0"
|
|
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.65.0"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
alloc = ["portable-atomic-util?/alloc"]
|
|
std = ["once_cell", "alloc", "portable-atomic?/std", "portable-atomic-util?/std"]
|
|
portable-atomic = ["dep:portable-atomic", "dep:portable-atomic-util", "once_cell?/portable-atomic"]
|
|
critical-section = ["portable-atomic?/critical-section", "once_cell?/critical-section"]
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[dependencies]
|
|
once_cell = { version = "1.13.0", optional = true }
|
|
portable-atomic-util = { version = "0.2.4", default-features = false, optional = true }
|
|
portable-atomic = { version = "1", default-features = false, optional = true }
|
|
|
|
[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"]
|
|
|
|
[lints]
|
|
workspace = true
|