Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
decathorpe committed Feb 8, 2022
1 parent cdbb03a commit 2db5f31
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
## 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:

- convenience methods for checking the type of `DxrError` and extracting the inner error value
- 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:

Expand Down
8 changes: 4 additions & 4 deletions dxr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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 }
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion dxr_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion dxr_shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 2db5f31

Please sign in to comment.