From d6f740e8d77655db9a5273c56bf98ecc635ba14c Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Sat, 6 Jul 2019 12:12:20 -0700 Subject: [PATCH] tracing: prepare to release 0.1.2 (#156) ### Added - `Span::none()` constructor, which does not require metadata and returns a completely empty span (#147). - `Span::current()` function, returning the current span if it is known to the subscriber (#148). ### Fixed - Broken macro imports when used prefixed with `tracing::` (#152). Signed-off-by: Eliza Weisman --- tracing-serde/Cargo.toml | 2 +- tracing/CHANGELOG.md | 13 +++++++++++++ tracing/Cargo.toml | 12 ++++++++---- tracing/README.md | 2 +- tracing/src/lib.rs | 2 +- 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/tracing-serde/Cargo.toml b/tracing-serde/Cargo.toml index 04835bc3..cb806fbf 100644 --- a/tracing-serde/Cargo.toml +++ b/tracing-serde/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" [dependencies] serde = "1" -tracing-core = { version = "0.1", path = "../tracing-core" } +tracing-core = "0.1" [dev-dependencies] serde_json = "1.0" diff --git a/tracing/CHANGELOG.md b/tracing/CHANGELOG.md index b19ad195..9edef7b0 100644 --- a/tracing/CHANGELOG.md +++ b/tracing/CHANGELOG.md @@ -1,3 +1,16 @@ +# 0.1.2 (July 6, 2019) + +### Added + +- `Span::none()` constructor, which does not require metadata and + returns a completely empty span (#147). +- `Span::current()` function, returning the current span if it is + known to the subscriber (#148). + +### Fixed + +- Broken macro imports when used prefixed with `tracing::` (#152). + # 0.1.1 (July 3, 2019) ### Changed diff --git a/tracing/Cargo.toml b/tracing/Cargo.toml index a4d05fe9..0bff4998 100644 --- a/tracing/Cargo.toml +++ b/tracing/Cargo.toml @@ -8,22 +8,26 @@ name = "tracing" # - README.md # - Update CHANGELOG.md. # - Create "v0.1.x" git tag -version = "0.1.1" +version = "0.1.2" authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" repository = "https://github.com/tokio-rs/tracing" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tracing/0.1.1/tracing" +documentation = "https://docs.rs/tracing/0.1.2/tracing" description = """ A scoped, structured logging and diagnostics system. """ -categories = ["development-tools::debugging", "asynchronous"] +categories = [ + "development-tools::debugging", + "development-tools::profiling", + "asynchronous", +] keywords = ["logging", "tracing"] edition = "2018" [dependencies] -tracing-core = { version = "0.1", path = "../tracing-core" } +tracing-core = "0.1.1" log = { version = "0.4", optional = true } cfg-if = "0.1.9" diff --git a/tracing/README.md b/tracing/README.md index ad1adc89..8b8dda23 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -47,7 +47,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] -tracing = "0.1" +tracing = "0.1.2" ``` This crate provides macros for creating `Span`s and `Event`s, which represent diff --git a/tracing/src/lib.rs b/tracing/src/lib.rs index f6f3d6bd..ead0f586 100644 --- a/tracing/src/lib.rs +++ b/tracing/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tracing/0.1.1")] +#![doc(html_root_url = "https://docs.rs/tracing/0.1.2")] #![deny(missing_debug_implementations, missing_docs, unreachable_pub)] #![cfg_attr(test, deny(warnings))] #![cfg_attr(feature = "doctest-readme", feature(external_doc))]