Skip to content

Commit

Permalink
chore: prepare tracing-serde 0.2.0
Browse files Browse the repository at this point in the history
# 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]: #2241
[#3040]: #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
  • Loading branch information
hds committed Nov 27, 2024
1 parent 504a287 commit 77c93f8
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
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
Expand Down
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"
Expand Down
4 changes: 2 additions & 2 deletions tracing-serde/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Up @@ -43,7 +43,7 @@
//! ```toml
//! [dependencies]
//! tracing = "0.1"
//! tracing-serde = "0.1"
//! tracing-serde = "0.2"
//! ```
//!
//! Next, add this to your crate:
Expand Down
2 changes: 1 addition & 1 deletion tracing-subscriber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 77c93f8

Please sign in to comment.