No changes.
- Added
From<Option<_>>
impls forValue
, yielding eitherNil
or the contained value (#76)
- Updated
iso8601
dependency to 0.4.0 - Updated
reqwest
dependency to 0.11.0
- Changed request formatting to be more readable (#68)
- Updated private dependencies
- Updated
iso8601
dependency to 0.3.0 - Updated
reqwest
dependency to 0.10.1 - Added a new default feature
tls
that can be disabled to turn off reqwest's TLS support.
- Update internal dependencies
- Update reqwest to 0.9 to fix openssl-related build failures (#44)
-
Bump the minimum supported Rust version and change the Rust version policy.
From now on,
xmlrpc
will adopt the same policy as tokio (on which we depend): We will support the current Rust version and the 2 releases prior to that (which currently means that we support 1.25.0+).Bumping the required Rust version is no longer considered a breaking change as long as the latest 3 versions are still supported.
- Add
Request::new_multicall
for easier execution of multiple calls viasystem.multicall
- Better handling of
Value::DateTime
- Print the timezone if the zone offset is non-zero
- Print the fractional part of the time if it's non-zero
- Accept base64 values containing whitespace
- Stop checking
Content-Length
headers to support compressed responses (#41)
Transport
errors must now beSend + Sync
; this allows our ownError
type to beSend + Sync
, which makes it more useful for downstream crates (see: API guidelines) (#39)
- Replace ad-hoc API with a
Transport
trait that can be implemented to change the way the request is sent - Stricter checking of server headers
- Removed the nested
Result
you get when performing a call - Restructure the
RequestError
type to better hide details the user shouldn't need to see - Rename
RequestError
to justError
to better match what other crates do - Removed the
RequestResult
type alias in favor of explicitly naming the result type
- Make the
reqwest
dependency optional - you can opt out and define your ownTransport
instead - Add
Request::call_url
, an easy to use helper that calls a&str
URL without needing to depend onreqwest
in downstream crates - Add the
http
module, containing a few helper methods for writing custom reqwest-basedTransport
s - Derive a few more useful traits (#34)
- Implement
From<i64>
forValue
(#33) - Add methods
Value::get
andValue::as_*
, implementstd::ops::Index
forValue
for convenient access to wrapped data (#37).
- The API slowly grew to expose more internals in order to accommodate more use cases