Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["patchable", "patchable-macro"]
resolver = "3"

[workspace.package]
version = "0.5.3"
version = "0.5.4"
rust-version = "1.85"
edition = "2024"
repository = "https://github.com/ShapelessCat/patchable"
Expand Down
23 changes: 2 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,29 +69,10 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
patchable = "0.5.3" # You can use the latest version
patchable = "0.5.4" # You can use the latest version
```

The `serde` feature is enabled by default. Disable default features to opt out:

```toml
[dependencies]
patchable = { version = "0.5.3", default-features = false }
```

Enable `From<Struct>` generation:

```toml
[dependencies]
patchable = { version = "0.5.3", features = ["impl_from"] }
```

Enable `Clone` derivation for patch types:

```toml
[dependencies]
patchable = { version = "0.5.3", features = ["cloneable"] }
```
Check this project's Cargo feature flags to see what you want to enable or disable.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion patchable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ readme.workspace = true
path = "src/lib.rs"

[dependencies]
patchable-macro = { version = "0.5.3", path = "../patchable-macro" }
patchable-macro = { version = "0.5.4", path = "../patchable-macro" }
serde.workspace = true
serde_json.workspace = true
anyhow.workspace = true
Expand Down