From 2db5f31c0e04a35353a410b8fcea9cd03dd7ebac Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 9 Feb 2022 00:46:23 +0100 Subject: [PATCH] Release 0.2.0 --- CHANGELOG.md | 6 +++++- dxr/Cargo.toml | 8 ++++---- dxr_derive/Cargo.toml | 2 +- dxr_shared/Cargo.toml | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3944bdf..9165ea0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -## Unreleased 0.2 +## Release 0.2.0 + +This version contains some fixes that required changes in public APIs (listed below), so this +is a semver-incompatible release. Added: @@ -6,6 +9,7 @@ Added: - more client-server roundtrip tests (for ~80% test coverage across all three crates) - support for implementing / requesting graceful server shutdown - snapshot tests for some `Debug` implementations +- feature hints for the generated documentation on [docs.rs](https://docs.rs/dxr) Changed: diff --git a/dxr/Cargo.toml b/dxr/Cargo.toml index 38e6633..d16bde0 100644 --- a/dxr/Cargo.toml +++ b/dxr/Cargo.toml @@ -3,7 +3,7 @@ name = "dxr" description = "Declarative XML-RPC" license = "MIT OR Apache-2.0" -version = "0.1.1" +version = "0.2.0" edition = "2021" rust-version = "1.56.0" @@ -43,13 +43,12 @@ path = "tests/echo_one.rs" required-features = ["derive", "client", "server", "i8", "nil", "tokio"] [dependencies] -# default features -dxr_shared = { path = "../dxr_shared", version = "0.1.1", default-features = false } +dxr_shared = { path = "../dxr_shared", version = "0.2.0", default-features = false } log = "0.4.13" quick-xml = { version = "0.22" , features = ["serialize"] } # derive feature -dxr_derive = { path = "../dxr_derive", version = "0.1.1", optional = true } +dxr_derive = { path = "../dxr_derive", version = "0.2.0", optional = true } # client feature reqwest = { version = "0.11", features = ["cookies"] , optional = true } @@ -58,6 +57,7 @@ url = { version = "2.2", optional = true } # server feature async-trait = { version = "0.1.52", optional = true } axum = { version = "0.4.5", optional = true } +# server feature: optional tokio support tokio = { version = "1.14", features = ["time"], optional = true } [dev-dependencies] diff --git a/dxr_derive/Cargo.toml b/dxr_derive/Cargo.toml index 3f52a56..d028251 100644 --- a/dxr_derive/Cargo.toml +++ b/dxr_derive/Cargo.toml @@ -3,7 +3,7 @@ name = "dxr_derive" description = "Implementation details of DXR (derive macros)" license = "MIT OR Apache-2.0" -version = "0.1.1" +version = "0.2.0" edition = "2021" rust-version = "1.56.0" diff --git a/dxr_shared/Cargo.toml b/dxr_shared/Cargo.toml index adaf4e4..4523b1b 100644 --- a/dxr_shared/Cargo.toml +++ b/dxr_shared/Cargo.toml @@ -3,7 +3,7 @@ name = "dxr_shared" description = "Implementation details of DXR (XML-RPC value de/serialization)" license = "MIT OR Apache-2.0" -version = "0.1.1" +version = "0.2.0" edition = "2021" rust-version = "1.56.0"