Crate rspamd_client

Crate rspamd_client 

Source
Expand description

§Rspamd Client for Rust

This crate provides an HTTP client for interacting with the Rspamd service in Rust. It supports both synchronous and asynchronous operations using the attohttpc and reqwest libraries, respectively.

§Features

  • Sync: Synchronous client using attohttpc.
  • Async: Asynchronous client using reqwest.
  • Easily configurable with support for proxy, encryption, TLS and ZSTD compression.
  • Supports scanning emails for spam scores and other metrics.

Re-exports§

pub use backend::async_client::scan_async;
pub use backend::async_client::AsyncClient;

Modules§

backend
config
Configuration for rspamd-client
error
Error handling for the Rspamd API client.
protocol