diff --git a/Cargo.toml b/Cargo.toml index ed16547..9f23a03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ exclude = [ "no-std-examples" ] [workspace.package] authors = ["Antonio Yang "] -version = "0.10.5" +version = "0.11.0" edition = "2021" categories = ["development-tools"] keywords = ["struct", "patch", "macro", "derive", "overlay"] diff --git a/README.md b/README.md index 190bbf2..6e23746 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,9 @@ A lib help you patch Rust instance, and easy to partial update configures. This crate provides the `Patch`, `Filler` traits and accompanying derive macro. If the any field in `Patch` is some then it will overwrite the field of instance when apply. If the any field in the instance is none then it will try to fill the field with the `Filler`. -Currently, `Filler` only support `Option` and `Vec` fields, and also you can check this [template](https://github.com/yanganto/ConfigTemplate) if you already work on a big project with a lot of configs. +Currently, `Filler` only support `Option` and `Vec` fields, and also you can check this [template](https://github.com/yanganto/ConfigTemplate) +if you already work on a big project with a lot of configs. +This crate support `no_std`, please check [no-std-examples](./no-std-examples). ## Quick Example Deriving `Patch` on a struct will generate a struct similar to the original one, but with all fields wrapped in an `Option`. diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 88b70c0..795af15 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.10.5", path = "../derive" } +struct-patch-derive = { version = "=0.11.0", path = "../derive" } [dev-dependencies] serde_json = "1.0" diff --git a/no-std-examples/Cargo.toml b/no-std-examples/Cargo.toml index e5eaa2c..9a6c89e 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.10.5" +version = "0.11.0" edition = "2021" license = "MIT"