rspamd_client/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod config;
pub mod error;
pub mod protocol;

pub mod backend;

#[cfg(feature = "sync")]
pub use backend::sync_client::SyncClient;
#[cfg(feature = "sync")]
pub use backend::sync_client::scan_sync;

#[cfg(feature = "async")]
pub use backend::async_client::AsyncClient;

#[cfg(feature = "async")]
pub use backend::async_client::scan_async;