From b6c697d83888e70aa8ad978d36430cb5d3f71869 Mon Sep 17 00:00:00 2001 From: mcc Date: Sat, 3 Aug 2024 16:15:28 -0400 Subject: [PATCH] Changes to bincode::serde notes per PR discussion --- docs/migration_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migration_guide.md b/docs/migration_guide.md index 02b3e56a..cedba821 100644 --- a/docs/migration_guide.md +++ b/docs/migration_guide.md @@ -42,7 +42,7 @@ Because of confusion with `Options` defaults in bincode 1, we have made `Configu You may wish to stick with `serde` when migrating to bincode 2, for example if you are using serde-exclusive derive features such as `#[serde(deserialize_with)]`. -If so, make sure to include bincode 2 with the `serde` feature enabled. +If so, make sure to include bincode 2 with the `serde` feature enabled, and use the `bincode::serde::*` functions instead of `bincode::*` as described below: ```toml [dependencies]