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

#166 in #ipc

Download history 354/week @ 2024-03-14 304/week @ 2024-03-21 339/week @ 2024-03-28 441/week @ 2024-04-04 513/week @ 2024-04-11 484/week @ 2024-04-18 91/week @ 2024-04-25 247/week @ 2024-05-02 157/week @ 2024-05-09 242/week @ 2024-05-16 188/week @ 2024-05-23 131/week @ 2024-05-30 77/week @ 2024-06-06 214/week @ 2024-06-13 145/week @ 2024-06-20 75/week @ 2024-06-27

520 downloads per month
Used in 10 crates (8 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–17MB
~212K SLoC