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

chore: prepare tracing-serde 0.2.0 #3160

Merged
merged 2 commits into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions tracing-serde/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# 0.2.0 (November 27, 2024)

[ [crates.io][crate-0.2.0] ] | [ [docs.rs][docs-0.2.0] ]

<a id = "0.2.0-breaking"></a>
### Breaking Changes

- Correct SerializeField definition and doc formatting ([#3040])
`SerializeField` has gained a generic lifetime parameter.

### Fixed

- Implement `AsSerde` for `FieldSet` ([#2241])
- [**breaking**](#0.2.0-breaking) Correct SerializeField definition and doc formatting ([#3040])

### Changed

- Bump MSRV to 1.63 ([#2793])

[#2241]: https://github.com/tokio-rs/tracing/pull/2241
[#3040]: https://github.com/tokio-rs/tracing/pull/3040
[docs-0.2.0]: https://docs.rs/tracing-serde/0.2.0/tracing-serde/
[crate-0.2.0]: https://crates.io/crates/tracing-serde/0.2.0

# 0.1.3 (February 4, 2022)

This release adds *experimental* support for recording structured field
2 changes: 1 addition & 1 deletion tracing-serde/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tracing-serde"
version = "0.1.3"
version = "0.2.0"
authors = ["Tokio Contributors <[email protected]>"]
license = "MIT"
edition = "2018"
4 changes: 2 additions & 2 deletions tracing-serde/README.md
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ First, add this to your `Cargo.toml`:
```toml
[dependencies]
tracing = "0.1"
tracing-serde = "0.1"
tracing-serde = "0.2"
```

Next, add this to your crate:
@@ -119,4 +119,4 @@ for inclusion in Tokio by you, shall be licensed as MIT, without any additional
terms or conditions.

[`tracing`]: https://crates.io/crates/tracing
[`serde`]: https://crates.io/crates/serde
[`serde`]: https://crates.io/crates/serde
2 changes: 1 addition & 1 deletion tracing-serde/src/lib.rs
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@
//! ```toml
//! [dependencies]
//! tracing = "0.1"
//! tracing-serde = "0.1"
//! tracing-serde = "0.2"
//! ```
//!
//! Next, add this to your crate:
2 changes: 1 addition & 1 deletion tracing-subscriber/Cargo.toml
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ time = { version = "0.3.2", features = ["formatting"], optional = true }
# only required by the json feature
serde_json = { version = "1.0.82", optional = true }
serde = { version = "1.0.140", optional = true }
tracing-serde = { path = "../tracing-serde", version = "0.1.3", optional = true }
tracing-serde = { path = "../tracing-serde", version = "0.2.0", optional = true }

# opt-in deps
parking_lot = { version = "0.12.1", optional = true }