core: prepare to release 0.1.5 (#287)

* core: remove `local_inner_macros`

This is unnecessary as we no longer support Rust 1.26

* core: prepare to release 0.1.5

Added:

- `std::error::Error` as a new primitive `Value` type (#277)
- `Event::new` and `Event::new_child_of` to manually construct `Event`s (#281)

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
Eliza Weisman 2019-08-16 16:27:33 -07:00 committed by GitHub
parent a9d4d98e39
commit 215d0efdbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 46 deletions

View File

@ -1,3 +1,10 @@
# 0.1.5 (August 16, 2019)
### Added
- `std::error::Error` as a new primitive `Value` type (#277)
- `Event::new` and `Event::new_child_of` to manually construct `Event`s (#281)
# 0.1.4 (August 9, 2019) # 0.1.4 (August 9, 2019)
### Added ### Added

View File

@ -8,13 +8,13 @@ name = "tracing-core"
# - README.md # - README.md
# - Update CHANGELOG.md. # - Update CHANGELOG.md.
# - Create "v0.1.x" git tag. # - Create "v0.1.x" git tag.
version = "0.1.4" version = "0.1.5"
authors = ["Tokio Contributors <team@tokio.rs>"] authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/tokio-rs/tracing" repository = "https://github.com/tokio-rs/tracing"
homepage = "https://tokio.rs" homepage = "https://tokio.rs"
documentation = "https://docs.rs/tracing-core/0.1.4/tracing_core" documentation = "https://docs.rs/tracing-core/0.1.5/tracing_core"
description = """ description = """
Core primitives for application-level tracing. Core primitives for application-level tracing.
""" """

View File

@ -12,9 +12,9 @@ Core primitives for application-level tracing.
[Chat][gitter-url] [Chat][gitter-url]
[crates-badge]: https://img.shields.io/crates/v/tracing-core.svg [crates-badge]: https://img.shields.io/crates/v/tracing-core.svg
[crates-url]: https://crates.io/crates/tracing-core [crates-url]: https://crates.io/crates/tracing-core/0.1.5
[docs-badge]: https://docs.rs/tracing-core/badge.svg [docs-badge]: https://docs.rs/tracing-core/badge.svg
[docs-url]: https://docs.rs/tracing-core [docs-url]: https://docs.rs/tracing-core/0.1.5
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
[mit-url]: LICENSE [mit-url]: LICENSE
[azure-badge]: https://dev.azure.com/tracing/tracing/_apis/build/status/tokio-rs.tracing?branchName=master [azure-badge]: https://dev.azure.com/tracing/tracing/_apis/build/status/tokio-rs.tracing?branchName=master
@ -68,22 +68,22 @@ The following crate feature flags are available:
```toml ```toml
[dependencies] [dependencies]
tracing-core = { version = "0.1.4", default-features = false } tracing-core = { version = "0.1.5", default-features = false }
``` ```
**Note**:`tracing-core`'s `no_std` support requires `liballoc`. **Note**:`tracing-core`'s `no_std` support requires `liballoc`.
[`tracing`]: ../tracing [`tracing`]: ../tracing
[`Span`]: https://docs.rs/tracing-core/0.1.4/tracing_core/span/struct.Span.html [`Span`]: https://docs.rs/tracing-core/0.1.5/tracing_core/span/struct.Span.html
[`Event`]: https://docs.rs/tracing-core/0.1.4/tracing_core/event/struct.Event.html [`Event`]: https://docs.rs/tracing-core/0.1.5/tracing_core/event/struct.Event.html
[`Subscriber`]: https://docs.rs/tracing-core/0.1.4/tracing_core/subscriber/trait.Subscriber.html [`Subscriber`]: https://docs.rs/tracing-core/0.1.5/tracing_core/subscriber/trait.Subscriber.html
[`Metadata`]: https://docs.rs/tracing-core/0.1.4/tracing_core/metadata/struct.Metadata.html [`Metadata`]: https://docs.rs/tracing-core/0.1.5/tracing_core/metadata/struct.Metadata.html
[`Callsite`]: https://docs.rs/tracing-core/0.1.4/tracing_core/callsite/trait.Callsite.html [`Callsite`]: https://docs.rs/tracing-core/0.1.5/tracing_core/callsite/trait.Callsite.html
[`Field`]: https://docs.rs/tracing-core/0.1.4/tracing_core/field/struct.Field.html [`Field`]: https://docs.rs/tracing-core/0.1.5/tracing_core/field/struct.Field.html
[`FieldSet`]: https://docs.rs/tracing-core/0.1.4/tracing_core/field/struct.FieldSet.html [`FieldSet`]: https://docs.rs/tracing-core/0.1.5/tracing_core/field/struct.FieldSet.html
[`Value`]: https://docs.rs/tracing-core/0.1.4/tracing_core/field/trait.Value.html [`Value`]: https://docs.rs/tracing-core/0.1.5/tracing_core/field/trait.Value.html
[`ValueSet`]: https://docs.rs/tracing-core/0.1.4/tracing_core/field/struct.ValueSet.html [`ValueSet`]: https://docs.rs/tracing-core/0.1.5/tracing_core/field/struct.ValueSet.html
[`Dispatch`]: https://docs.rs/tracing-core/0.1.4/tracing_core/dispatcher/struct.Dispatch.html [`Dispatch`]: https://docs.rs/tracing-core/0.1.5/tracing_core/dispatcher/struct.Dispatch.html
## License ## License

View File

@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tracing-core/0.1.4")] #![doc(html_root_url = "https://docs.rs/tracing-core/0.1.5")]
#![deny(missing_debug_implementations, missing_docs, unreachable_pub)] #![deny(missing_debug_implementations, missing_docs, unreachable_pub)]
#![cfg_attr(test, deny(warnings))] #![cfg_attr(test, deny(warnings))]
@ -52,7 +52,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! tracing-core = { version = "0.1.4", default-features = false } //! tracing-core = { version = "0.1.5", default-features = false }
//! ``` //! ```
//! **Note**:`tracing-core`'s `no_std` support requires `liballoc`. //! **Note**:`tracing-core`'s `no_std` support requires `liballoc`.
//! //!
@ -147,7 +147,7 @@ macro_rules! identify_callsite {
/// ///
/// [metadata]: metadata/struct.Metadata.html /// [metadata]: metadata/struct.Metadata.html
/// [`Metadata::new`]: metadata/struct.Metadata.html#method.new /// [`Metadata::new`]: metadata/struct.Metadata.html#method.new
#[macro_export(local_inner_macros)] #[macro_export]
macro_rules! metadata { macro_rules! metadata {
( (
name: $name:expr, name: $name:expr,
@ -178,39 +178,15 @@ macro_rules! metadata {
$name, $name,
$target, $target,
$level, $level,
Some(__tracing_core_file!()), Some(file!()),
Some(__tracing_core_line!()), Some(line!()),
Some(__tracing_core_module_path!()), Some(module_path!()),
$crate::field::FieldSet::new($fields, identify_callsite!($callsite)), $crate::field::FieldSet::new($fields, $crate::identify_callsite!($callsite)),
$kind, $kind,
) )
}; };
} }
#[doc(hidden)]
#[macro_export]
macro_rules! __tracing_core_module_path {
() => {
module_path!()
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __tracing_core_file {
() => {
file!()
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __tracing_core_line {
() => {
line!()
};
}
pub mod callsite; pub mod callsite;
pub mod dispatcher; pub mod dispatcher;
pub mod event; pub mod event;