From 9dd9ce3a5076010e632f67cb72a938a18e25c42a Mon Sep 17 00:00:00 2001 From: Eric Rodrigues Pires Date: Tue, 28 Oct 2025 09:13:38 -0300 Subject: [PATCH] Prepare for duper 0.2.2 release --- Cargo.lock | 54 +------------------------------------- duper-js-wasm/Cargo.toml | 2 +- duper-vs-code/package.json | 5 +++- duper/CHANGELOG.md | 12 +++++++++ duper/Cargo.toml | 5 +--- 5 files changed, 19 insertions(+), 59 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4af4881..92e5a0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -308,7 +308,7 @@ dependencies = [ [[package]] name = "duper" -version = "0.2.1" +version = "0.2.2" dependencies = [ "insta", "miette", @@ -318,9 +318,6 @@ dependencies = [ "ryu", "serde", "serde_core", - "serde_json", - "serde_yaml_ng", - "toml", "unicode-general-category", ] @@ -1130,28 +1127,6 @@ dependencies = [ "serde_core", ] -[[package]] -name = "serde_spanned" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e24345aa0fe688594e73770a5f6d1b216508b4f93484c0026d521acd30134392" -dependencies = [ - "serde_core", -] - -[[package]] -name = "serde_yaml_ng" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f" -dependencies = [ - "indexmap", - "itoa", - "ryu", - "serde", - "unsafe-libyaml", -] - [[package]] name = "sha2" version = "0.10.9" @@ -1277,21 +1252,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" -[[package]] -name = "toml" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0dc8b1fb61449e27716ec0e1bdf0f6b8f3e8f6b05391e8497b8b6d7804ea6d8" -dependencies = [ - "indexmap", - "serde_core", - "serde_spanned", - "toml_datetime", - "toml_parser", - "toml_writer", - "winnow", -] - [[package]] name = "toml_datetime" version = "0.7.3" @@ -1322,12 +1282,6 @@ dependencies = [ "winnow", ] -[[package]] -name = "toml_writer" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8b2b54733674ad286d16267dcfc7a71ed5c776e4ac7aa3c3e2561f7c637bf2" - [[package]] name = "tower" version = "0.5.2" @@ -1402,12 +1356,6 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3" -[[package]] -name = "unsafe-libyaml" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" - [[package]] name = "uuid" version = "1.18.1" diff --git a/duper-js-wasm/Cargo.toml b/duper-js-wasm/Cargo.toml index 8545b17..cccb87a 100644 --- a/duper-js-wasm/Cargo.toml +++ b/duper-js-wasm/Cargo.toml @@ -6,7 +6,7 @@ rust-version = "1.88" license = "MIT" authors = ["Eric Rodrigues Pires "] repository = "https://github.com/EpicEric/duper" -homepage = "https://github.com/EpicEric/duper" +homepage = "https://duper.dev.br" readme = "README.md" categories = ["encoding", "parser-implementations"] keywords = ["duper", "serialization", "wasm"] diff --git a/duper-vs-code/package.json b/duper-vs-code/package.json index 92582da..861b69d 100644 --- a/duper-vs-code/package.json +++ b/duper-vs-code/package.json @@ -8,9 +8,12 @@ }, "publisher": "epic-eric", "homepage": "https://duper.dev.br", + "bugs": { + "url": "https://github.com/EpicEric/duper/issues" + }, "repository": { "type": "git", - "url": "https://github.com/EpicEric/duper" + "url": "git+https://github.com/EpicEric/duper.git" }, "license": "MIT", "categories": [ diff --git a/duper/CHANGELOG.md b/duper/CHANGELOG.md index 5852197..c41f4cc 100644 --- a/duper/CHANGELOG.md +++ b/duper/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 0.2.2 (2025-10-28) + +### Added + +- Add `serde` feature flag. +- Add `Serialize`/`Deserialize` implementations to `DuperValue` and related. +- Add custom `serialize_meta`/`deserialize_meta` methods. + +### Changed + +- Move `serde_duper` serializer and deserializer interfaces into this crate. + ## 0.2.1 (2025-10-25) ### Changed diff --git a/duper/Cargo.toml b/duper/Cargo.toml index cf439ea..4a6d6b5 100644 --- a/duper/Cargo.toml +++ b/duper/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "duper" description = "The format that's super!" -version = "0.2.1" +version = "0.2.2" edition = "2024" rust-version = "1.88" license = "MIT" @@ -29,6 +29,3 @@ unicode-general-category = "1" [dev-dependencies] insta = "1.43.2" serde = { version = "1.0.228", features = ["derive"] } -serde_json = "1.0.145" -serde_yaml_ng = "0.10.0" -toml = "0.9.8" -- 2.51.2