Skip to content

Commit fe3a9ac

Browse files
committed
update readme and bounce version
1 parent 1591f77 commit fe3a9ac

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77

88
[workspace.package]
99
authors = ["Antonio Yang <[email protected]>"]
10-
version = "0.9.4"
10+
version = "0.10.0"
1111
edition = "2021"
1212
categories = ["development-tools"]
1313
keywords = ["struct", "patch", "macro", "derive", "overlay"]

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ The [examples][examples] demo following scenarios.
126126
- show option field behavior
127127
- show operators about patches
128128
- show example with serde crates, ex: `humantime_serde` for duration
129+
- show a patch nesting other patch
129130
- show filler with all possible types
130131

131132
## Features
@@ -141,6 +142,7 @@ This crate also includes the following optional features:
141142
- default: `T` needs to implement `From<P>`. When patching on None, it will based on `from<P>` to cast T, and this let you patch structs containing fields with optional values.
142143
- `none_as_default`: `T` needs to implement `Default`. When patching on None, it will patch on a default instance, and this also let you patch structs containing fields with optional values.
143144
- `keep_none`: When patching on None, it is still None.
145+
- `nesting`(nesting): allow a inner field with `Patch` derive and `#[patch(nesting)]` attribute
144146

145147
[crates-badge]: https://img.shields.io/crates/v/struct-patch.svg
146148
[crate-url]: https://crates.io/crates/struct-patch

struct-patch/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license.workspace = true
1111
readme.workspace = true
1212

1313
[dependencies]
14-
struct-patch-derive = { version = "=0.9.4", path = "../struct-patch-derive" }
14+
struct-patch-derive = { version = "=0.10.0", path = "../struct-patch-derive" }
1515

1616
[dev-dependencies]
1717
serde_json = "1.0"

0 commit comments

Comments
 (0)