8 Commits

Author SHA1 Message Date
Eliza Weisman
895596fb38
meta: README and badges tweaks (#214)
This branch makes a few small README and Cargo.toml changes:
* Add Azure Pipelines build status badges to Cargo.tomls
* Change README build status badges to Azure Pipelines
* Add "maintenance: experimental" badges to unreleased crates
* Link to `tracing` docs and crates.io page in the root README, 
  rather than `tracing-core`.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2019-07-23 14:53:46 -07:00
Eliza Weisman
ce640b7a4a
chore: un-path-dep tracing (#182)
Now that `tracing` 0.1.3 is released, this branch removes path 
dependencies on `tracing` from other crates in the repo.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2019-07-12 10:32:54 -07:00
Eliza Weisman
96424d04a1
chore: update everything to use try_close (#174)
## Motivation

`tracing-core` 0.1.2 deprecated the `Subscriber::drop_span` function in
favour of `try_close`.

## Solution

This branch updates all other crates to depend on core 0.1.2, and
replaces uses of `drop_span` with `try_close`.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2019-07-11 11:56:04 -07:00
Eliza Weisman
d6f740e8d7
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 <eliza@buoyant.io>
2019-07-06 12:12:20 -07:00
J Haigh
f13d8686cd Fix Serializing for Metadata (#115)
This PR changes the field names to better represent the `is_span` and 
`is_event` values being serialized in `Metadata`. Out of band, we noticed the 
previous field names did not correspond with the data we were serializing
for those 2 functions.
2019-07-01 17:15:53 -07:00
Eliza Weisman
7ba800e872
chore: add edition = "2018 to Cargo.tomls (#132)
## Motivation

#122 updated all crates to use Rust 2018 syntax, but I neglected to add
`edition = "2018"` to the `Cargo.toml`s. 

## Solution

This fixes that.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2019-07-01 13:34:08 -07:00
Bruce Mitchener
2649a7bab4 tracing-serde: Use path deps to tracing-core and tracing. (#130)
This addresses a TODO in the `Cargo.toml`.
2019-06-30 21:40:27 -07:00
Eliza Weisman
6a5cb28a44
meta: rename everything to tracing (#99)
See #95 

This branch renames everything from `tokio-trace` to `tracing`.

Unlike PR #98, the nursery crates still depend on the crates.io
versions of `tokio-trace` and `tokio-trace-core`, but renamed
to `tracing`/`tracing-core` in `Cargo.toml`. We can update the
nursery crates to depend on local path dependencies in a 
subsequent PR, as that will require making code changes to the
nursery crates.

This branch _also_ updates the minimum Rust version to 1.34.0,
to the shock and horror of the millions of `tracing` users still
on Rust 1.26.0. This was necessary in order to allow renaming
crates in `Cargo.toml`, and to resolve that not using the `dyn` 
keyword is now a warning on nightly.

Closes #98 
Closes #95

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2019-06-26 11:31:07 -07:00