Crates.io | xmlrpc_benthic |
lib.rs | xmlrpc_benthic |
version | 0.0.0 |
source | src |
created_at | 2024-07-24 19:30:52.131598 |
updated_at | 2024-07-24 19:30:52.131598 |
description | An XML-RPC implementation for Rust, for use with opensimulator |
homepage | |
repository | https://github.com/jonas-schievink/xml-rpc-rs.git |
max_upload_size | |
id | 1314273 |
size | 120,498 |
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.
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.
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
.