diff --git a/Cargo.lock b/Cargo.lock index c68942a..d7ce264 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -44,7 +44,7 @@ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "patchable" -version = "0.5.3" +version = "0.5.4" dependencies = [ "anyhow", "patchable-macro", @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "patchable-macro" -version = "0.5.3" +version = "0.5.4" dependencies = [ "proc-macro-crate", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 245267b..95a14c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/README.md b/README.md index 270f709..34ea2b1 100644 --- a/README.md +++ b/README.md @@ -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` 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 diff --git a/patchable/Cargo.toml b/patchable/Cargo.toml index 1fa3c94..25c8b59 100644 --- a/patchable/Cargo.toml +++ b/patchable/Cargo.toml @@ -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