From bdb335f7408da5229447f381a2bc011fabd0d730 Mon Sep 17 00:00:00 2001 From: Antonio Yang Date: Tue, 11 Aug 2026 22:41:19 +0800 Subject: [PATCH 1/2] readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8ba253b..5bff95e 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ See also Case Studies: - [Avoid double-`Option` for `Option>` fields](docs/already-optional-field.md) - [Log which fields were patched or filled](docs/logs.md) - [Custom apply logic per field with `apply_by`](docs/custom-apply.md) + ```rust use struct_patch::Patch; use serde::{Deserialize, Serialize}; @@ -83,6 +84,8 @@ fn patch_json() { #### Case 2 - Fill up on a Config Deriving `Filler` on a struct generates a struct similar to the original one, keeping only the fields that can be filled (`Option`, collections, `extendable`, or `empty_value` fields). Unlike `Patch`, the `Filler` only works on empty fields of the instance. +See also Case Studies: + - [Log which fields were patched or filled](docs/logs.md) ```rust use struct_patch::Filler; From 0a2f9d25050e042e180f6fe57d6e1baf62a01604 Mon Sep 17 00:00:00 2001 From: Antonio Yang Date: Tue, 11 Aug 2026 22:41:25 +0800 Subject: [PATCH 2/2] bump 0.13.1 --- Cargo.toml | 2 +- complex-example/Cargo.toml | 2 +- lib/Cargo.toml | 2 +- no-std-examples/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a2595e9..a92e618 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ exclude = [ [workspace.package] authors = ["Antonio Yang "] -version = "0.13.0" +version = "0.13.1" edition = "2021" categories = ["development-tools"] keywords = ["struct", "patch", "macro", "derive", "overlay"] diff --git a/complex-example/Cargo.toml b/complex-example/Cargo.toml index a97f3db..7c69144 100644 --- a/complex-example/Cargo.toml +++ b/complex-example/Cargo.toml @@ -9,7 +9,7 @@ struct-patch = { path = "../lib", features = ["catalyst"] } [workspace.package] authors = ["Antonio Yang "] -version = "0.13.0" +version = "0.13.1" edition = "2021" categories = ["development-tools"] keywords = ["struct", "patch", "macro", "derive", "overlay"] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 44db638..8709816 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -12,7 +12,7 @@ readme.workspace = true rust-version.workspace = true [dependencies] -struct-patch-derive = { version = "=0.13.0", path = "../derive" } +struct-patch-derive = { version = "=0.13.1", path = "../derive" } [dev-dependencies] serde_json = "1.0" diff --git a/no-std-examples/Cargo.toml b/no-std-examples/Cargo.toml index 44af7fa..55f616e 100644 --- a/no-std-examples/Cargo.toml +++ b/no-std-examples/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "no-std-examples" authors = ["Antonio Yang "] -version = "0.13.0" +version = "0.13.1" edition = "2021" license = "MIT"