From cb7509390a2963f7fcfc7ec2da67c373176821b9 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Fri, 10 Jan 2020 14:49:08 -0800 Subject: [PATCH] core: prepare to release 0.1.9 (#527) # 0.1.9 (January 10, 2020) ### Added - API docs now show what feature flags are required to enable each item (#523) ### Fixed - A panic when the current default subscriber subscriber calls `dispatcher::with_default` as it is being dropped (#522) - Incorrect documentation for `Subscriber::drop_span` (#524) --- tracing-core/CHANGELOG.md | 12 ++++++++++++ tracing-core/Cargo.toml | 2 +- tracing-core/README.md | 26 +++++++++++++------------- tracing-core/src/lib.rs | 4 ++-- 4 files changed, 28 insertions(+), 16 deletions(-) diff --git a/tracing-core/CHANGELOG.md b/tracing-core/CHANGELOG.md index 0bef0bda..656462e8 100644 --- a/tracing-core/CHANGELOG.md +++ b/tracing-core/CHANGELOG.md @@ -1,3 +1,15 @@ +# 0.1.9 (January 10, 2020) + +### Added + +- API docs now show what feature flags are required to enable each item (#523) + +### Fixed + +- A panic when the current default subscriber subscriber calls + `dispatcher::with_default` as it is being dropped (#522) +- Incorrect documentation for `Subscriber::drop_span` (#524) + # 0.1.8 (December 20, 2019) ### Added diff --git a/tracing-core/Cargo.toml b/tracing-core/Cargo.toml index 5d9e8458..9f7bf560 100644 --- a/tracing-core/Cargo.toml +++ b/tracing-core/Cargo.toml @@ -8,7 +8,7 @@ name = "tracing-core" # - README.md # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. -version = "0.1.8" +version = "0.1.9" authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" diff --git a/tracing-core/README.md b/tracing-core/README.md index 8ea8b2c4..44ceda5b 100644 --- a/tracing-core/README.md +++ b/tracing-core/README.md @@ -12,9 +12,9 @@ Core primitives for application-level tracing. [Documentation][docs-url] | [Chat][discord-url] [crates-badge]: https://img.shields.io/crates/v/tracing-core.svg -[crates-url]: https://crates.io/crates/tracing-core/0.1.8 +[crates-url]: https://crates.io/crates/tracing-core/0.1.9 [docs-badge]: https://docs.rs/tracing-core/badge.svg -[docs-url]: https://docs.rs/tracing-core/0.1.8 +[docs-url]: https://docs.rs/tracing-core/0.1.9 [docs-master-badge]: https://img.shields.io/badge/docs-master-blue [docs-master-url]: https://tracing-rs.netlify.com/tracing_core [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg @@ -71,7 +71,7 @@ The following crate feature flags are available: ```toml [dependencies] - tracing-core = { version = "0.1.8", default-features = false } + tracing-core = { version = "0.1.9", default-features = false } ``` *Compiler support: requires rustc 1.39+* @@ -79,16 +79,16 @@ The following crate feature flags are available: **Note**:`tracing-core`'s `no_std` support requires `liballoc`. [`tracing`]: ../tracing -[`span::Id`]: https://docs.rs/tracing-core/0.1.8/tracing_core/span/struct.Id.html -[`Event`]: https://docs.rs/tracing-core/0.1.8/tracing_core/event/struct.Event.html -[`Subscriber`]: https://docs.rs/tracing-core/0.1.8/tracing_core/subscriber/trait.Subscriber.html -[`Metadata`]: https://docs.rs/tracing-core/0.1.8/tracing_core/metadata/struct.Metadata.html -[`Callsite`]: https://docs.rs/tracing-core/0.1.8/tracing_core/callsite/trait.Callsite.html -[`Field`]: https://docs.rs/tracing-core/0.1.8/tracing_core/field/struct.Field.html -[`FieldSet`]: https://docs.rs/tracing-core/0.1.8/tracing_core/field/struct.FieldSet.html -[`Value`]: https://docs.rs/tracing-core/0.1.8/tracing_core/field/trait.Value.html -[`ValueSet`]: https://docs.rs/tracing-core/0.1.8/tracing_core/field/struct.ValueSet.html -[`Dispatch`]: https://docs.rs/tracing-core/0.1.8/tracing_core/dispatcher/struct.Dispatch.html +[`span::Id`]: https://docs.rs/tracing-core/0.1.9/tracing_core/span/struct.Id.html +[`Event`]: https://docs.rs/tracing-core/0.1.9/tracing_core/event/struct.Event.html +[`Subscriber`]: https://docs.rs/tracing-core/0.1.9/tracing_core/subscriber/trait.Subscriber.html +[`Metadata`]: https://docs.rs/tracing-core/0.1.9/tracing_core/metadata/struct.Metadata.html +[`Callsite`]: https://docs.rs/tracing-core/0.1.9/tracing_core/callsite/trait.Callsite.html +[`Field`]: https://docs.rs/tracing-core/0.1.9/tracing_core/field/struct.Field.html +[`FieldSet`]: https://docs.rs/tracing-core/0.1.9/tracing_core/field/struct.FieldSet.html +[`Value`]: https://docs.rs/tracing-core/0.1.9/tracing_core/field/trait.Value.html +[`ValueSet`]: https://docs.rs/tracing-core/0.1.9/tracing_core/field/struct.ValueSet.html +[`Dispatch`]: https://docs.rs/tracing-core/0.1.9/tracing_core/dispatcher/struct.Dispatch.html ## License diff --git a/tracing-core/src/lib.rs b/tracing-core/src/lib.rs index 02ec69c5..31dc0919 100644 --- a/tracing-core/src/lib.rs +++ b/tracing-core/src/lib.rs @@ -49,7 +49,7 @@ //! //! ```toml //! [dependencies] -//! tracing-core = { version = "0.1.8", default-features = false } +//! tracing-core = { version = "0.1.9", default-features = false } //! ``` //! //! *Compiler support: requires rustc 1.39+* @@ -68,7 +68,7 @@ //! [`Dispatch`]: dispatcher/struct.Dispatch.html //! [`tokio-rs/tracing`]: https://github.com/tokio-rs/tracing //! [`tracing`]: https://crates.io/crates/tracing -#![doc(html_root_url = "https://docs.rs/tracing-core/0.1.8")] +#![doc(html_root_url = "https://docs.rs/tracing-core/0.1.9")] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn(