29 lines
950 B
Rust
29 lines
950 B
Rust
//! XML-RPC request and response types plus parser and renderer helpers.
|
|
#![expect(
|
|
clippy::arithmetic_side_effects,
|
|
clippy::indexing_slicing,
|
|
reason = "the XML-RPC surface keeps transport terminology explicit for compatibility parity"
|
|
)]
|
|
|
|
/// XML-RPC parser and renderer entrypoints.
|
|
mod codec;
|
|
/// Conversion helpers between XML-RPC and transport-neutral RPC values.
|
|
mod convert;
|
|
/// XML-RPC request, response, and value model types.
|
|
mod model;
|
|
/// Minimal XML token scanner used by the codec parser.
|
|
mod scanner;
|
|
|
|
#[cfg(test)]
|
|
/// XML-RPC parser, renderer, and conversion tests.
|
|
mod tests;
|
|
|
|
pub use self::codec::{
|
|
xmlrpc_method_call_from_xml, xmlrpc_method_call_to_xml, xmlrpc_method_response_from_xml,
|
|
xmlrpc_method_response_to_xml,
|
|
};
|
|
pub use self::convert::{rpc_value_to_xmlrpc, xmlrpc_value_to_rpc};
|
|
pub use self::model::{
|
|
XmlRpcFault, XmlRpcMember, XmlRpcMethodCall, XmlRpcMethodResponse, XmlRpcParam, XmlRpcValue,
|
|
};
|