24 releases (14 breaking)
Uses old Rust 2015
0.15.1 | Nov 2, 2021 |
---|---|
0.15.0 | Jan 23, 2021 |
0.14.0 | Feb 6, 2020 |
0.13.1 | Feb 20, 2019 |
0.3.1 | Nov 28, 2016 |
#188 in #ipc
1,310 downloads per month
Used in 11 crates
(9 directly)
69KB
1.5K
SLoC
XML-RPC for Rust
This crate provides a simple implementation of the XML-RPC specification in stable Rust using xml-rs
and reqwest
.
Please refer to the changelog to see what changed in the last releases.
Rust support
This crate uses the same Rust versioning policy as tokio: It supports the last 3 stable Rust releases. Increasing the minimum supported version is not considered a breaking change as long as the latest 3 versions are still supported.
Usage
Start by adding an entry to your Cargo.toml
:
[dependencies]
xmlrpc = "0.15.1"
Then import the crate into your Rust code:
extern crate xmlrpc;
See examples/client.rs
for a small example which connects to a running Python XML-RPC server and calls a method. A more elaborate example that demonstrates how to implement a custom Transport
to set a cookie header is provided in examples/custom-header.rs
.
Dependencies
~1–14MB
~203K SLoC