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

Download history 297/week @ 2024-07-25 131/week @ 2024-08-01 384/week @ 2024-08-08 490/week @ 2024-08-15 413/week @ 2024-08-22 458/week @ 2024-08-29 331/week @ 2024-09-05 342/week @ 2024-09-12 343/week @ 2024-09-19 432/week @ 2024-09-26 350/week @ 2024-10-03 258/week @ 2024-10-10 398/week @ 2024-10-17 297/week @ 2024-10-24 291/week @ 2024-10-31 280/week @ 2024-11-07

1,310 downloads per month
Used in 11 crates (9 directly)

CC0 license

69KB
1.5K SLoC

XML-RPC for Rust

crates.io docs.rs CI

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