From e023e13236c89d515b519b792c65fee7046c546a Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Mon, 13 Mar 2023 17:02:51 +0200 Subject: [PATCH] [Crate] Add serde feature to changelog and lib doc --- CHANGELOG.md | 1 + src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62fc68a..6ad27d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Who knows what the future holds... ### Changes: Crate: - General optimizations thanks to [cargo clippy](https://github.com/rust-lang/rust-clippy) and [@cainthebest](https://github.com/cainthebest). +- Added feature `serde` which enables json serialization/deserialization for all types (by [@cainthebest](https://github.com/cainthebest)). Protocols: - GameSpy 1: Add key `admin` as a possible variable for `admin_name`. diff --git a/src/lib.rs b/src/lib.rs index 9ac3aa3..0dbd300 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,6 +16,7 @@ //! Enabled by default: None //! //! `no_games` - disables the included games support. +//! `serde` - enables json serialization/deserialization for all types pub mod errors; #[cfg(not(feature = "no_games"))]