Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracing: Make tracing-attributes (and syn) optional #603

Merged
merged 5 commits into from
Feb 26, 2020

Conversation

jonhoo
Copy link
Contributor

@jonhoo jonhoo commented Feb 26, 2020

This allows consumers to use the convenience of tracing without having to pull in the syn crate.

Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor issues, but this looks good to me otherwise. Thanks!

tracing/src/lib.rs Show resolved Hide resolved
tracing/CHANGELOG.md Outdated Show resolved Hide resolved
@hawkw
Copy link
Member

hawkw commented Feb 26, 2020

@jonhoo it looks like CI is failing for...some reason. GitHub Actions won't show me why:
Screen Shot 2020-02-26 at 10 33 35 AM

tracing/src/lib.rs Outdated Show resolved Hide resolved
@jonhoo jonhoo requested a review from hawkw February 26, 2020 21:27
Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, lgtm!

@hawkw hawkw changed the title Make tracing-attributes (and syn) optional tracing: Make tracing-attributes (and syn) optional Feb 26, 2020
@hawkw hawkw merged commit 7e72e1c into master Feb 26, 2020
@hawkw hawkw deleted the jonhoo/optional-attributes branch February 26, 2020 22:10
hawkw added a commit that referenced this pull request Feb 26, 2020
Added:

- **field**: `field::Empty` type for declaring empty fields whose values
  will be recorded later (#548)
- **field**: `field::Value` implementations for `Wrapping` and `NonZero*`
  numbers (#538)
- **attributes**: Support for adding arbitrary literal fields to spans
  generated by `#[instrument]` (#569)
- **attributes**: `#[instrument]` now emits a helpful compiler error when
  attempting to skip a function parameter (#600)

Changed:

- **attributes**: The `#[instrument]` attribute was placed under an
  on-by-default  feature flag "attributes" (#603)

Fixed:

- Broken and unresolvable links in RustDoc (#595)

Thanks to @oli-cosmian and @Kobzol for contributing to this release!

Signed-off-by: Eliza Weisman <[email protected]>
hawkw added a commit that referenced this pull request Feb 27, 2020
### Added

- **field**: `field::Empty` type for declaring empty fields whose values
  will be recorded later (#548)
- **field**: `field::Value` implementations for `Wrapping` and `NonZero*`
  numbers (#538)
- **attributes**: Support for adding arbitrary literal fields to spans
  generated by `#[instrument]` (#569)
- **attributes**: `#[instrument]` now emits a helpful compiler error when
  attempting to skip a function parameter (#600)

### Changed

- **attributes**: The `#[instrument]` attribute was placed under an
  on-by-default  feature flag "attributes" (#603)

### Fixed

- Broken and unresolvable links in RustDoc (#595)

Thanks to @oli-cosmian and @Kobzol for contributing to this release!

Signed-off-by: Eliza Weisman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants