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

#163 in #ipc

Download history 630/week @ 2023-12-18 468/week @ 2023-12-25 496/week @ 2024-01-01 603/week @ 2024-01-08 590/week @ 2024-01-15 678/week @ 2024-01-22 694/week @ 2024-01-29 564/week @ 2024-02-05 489/week @ 2024-02-12 589/week @ 2024-02-19 686/week @ 2024-02-26 223/week @ 2024-03-04 296/week @ 2024-03-11 327/week @ 2024-03-18 326/week @ 2024-03-25 749/week @ 2024-04-01

1,707 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–16MB
~205K SLoC