Skip to content

Commit 1043e88

Browse files
committed
Depend on serde_core rather than serde
Use cargo package renaming to avoid changing any code.
1 parent f21d886 commit 1043e88

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
* Upgrade to [slog v2.8.0].
1010
* Enable `nested-values` feature by default
1111
* Increase MSRV to 1.61 (same as slog)
12+
* Switch from `serde` to `serde_core`. Should reduce compile times.
1213

1314
### Added
1415
* Implement `Drain::flush` (new in [slog v2.8.0])

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dynamic-keys = ["slog/dynamic-keys"]
2626
[dependencies]
2727
slog = "2.8"
2828
serde_json = "1"
29-
serde = "1"
29+
serde = { package = "serde_core", version = "1" }
3030
erased-serde = { version = "0.4", optional = true }
3131
time = { version = "0.3.6", features = ["formatting"] }
3232

0 commit comments

Comments
 (0)