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

#200 in #ipc

Download history 212/week @ 2024-12-01 358/week @ 2024-12-08 207/week @ 2024-12-15 118/week @ 2024-12-22 179/week @ 2024-12-29 374/week @ 2025-01-05 715/week @ 2025-01-12 457/week @ 2025-01-19 424/week @ 2025-01-26 672/week @ 2025-02-02 536/week @ 2025-02-09 287/week @ 2025-02-16 448/week @ 2025-02-23 347/week @ 2025-03-02 370/week @ 2025-03-09 364/week @ 2025-03-16

1,559 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–15MB
~212K SLoC