trace-core: prepare for 0.2 release (#1047)

This commit is contained in:
Eliza Weisman 2019-04-21 10:20:28 -07:00 committed by Carl Lerche
parent cf06621998
commit 712ca84033
4 changed files with 33 additions and 14 deletions

View File

@ -1,3 +1,22 @@
# 0.2.0 (April 21, 2019)
### Breaking Changes
- Remove `Callsite::clear_interest` and `Callsite::add_interest` (#1039)
- `metadata!` macro now requires a `Kind` field (#1046)
### Added
- Add a function to rebuild cached interest (#1039)
- Add overrideable downcasting to `Subscriber`s (#974)
- Add slightly more useful debug impls (#1014)
- Introduce callsite classification in metadata (#1046)
### Fixed
- `fmt::Debug` impls for `field::Display` and `field::Debug` not passing through
to the inner value (#992)
- Entering a `Dispatch` function unsets the default dispatcher for the duration
of the function (so that events inside the subscriber cannot cause infinite
loops) (#1033)
# 0.1.0 (March 13, 2019)
- Initial release

View File

@ -6,13 +6,13 @@ name = "tokio-trace-core"
# - Cargo.toml
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
# - Create "v0.2.x" git tag.
version = "0.2.0"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core"
documentation = "https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core"
description = """
Core primitives for tokio-trace.
"""

View File

@ -2,7 +2,7 @@
Core primitives for `tokio-trace`.
[Documentation](https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/index.html)
[Documentation](https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/index.html)
## Overview
@ -34,16 +34,16 @@ API. However, this crate's API will change very infrequently, so it may be used
when dependencies must be very stable.
[`tokio-trace`]: ../
[`Span`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/span/struct.Span.html
[`Event`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/event/struct.Event.html
[`Subscriber`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/subscriber/trait.Subscriber.html
[`Metadata`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/metadata/struct.Metadata.html
[`Callsite`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/callsite/trait.Callsite.html
[`Field`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/field/struct.Field.html
[`FieldSet`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/field/struct.FieldSet.html
[`Value`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/field/trait.Value.html
[`ValueSet`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/field/struct.ValueSet.html
[`Dispatch`]: https://docs.rs/tokio-trace-core/0.1.0/tokio_trace_core/dispatcher/struct.Dispatch.html
[`Span`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/span/struct.Span.html
[`Event`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/event/struct.Event.html
[`Subscriber`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/subscriber/trait.Subscriber.html
[`Metadata`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/metadata/struct.Metadata.html
[`Callsite`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/callsite/trait.Callsite.html
[`Field`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/field/struct.Field.html
[`FieldSet`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/field/struct.FieldSet.html
[`Value`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/field/trait.Value.html
[`ValueSet`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/field/struct.ValueSet.html
[`Dispatch`]: https://docs.rs/tokio-trace-core/0.2.0/tokio_trace_core/dispatcher/struct.Dispatch.html
## License

View File

@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tokio-trace-core/0.1.0")]
#![doc(html_root_url = "https://docs.rs/tokio-trace-core/0.2.0")]
#![deny(missing_debug_implementations, missing_docs, unreachable_pub)]
#![cfg_attr(test, deny(warnings))]