mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 16:53:08 +02:00
26 lines
699 B
Rust
26 lines
699 B
Rust
/**
|
|
|
|
This module defines the client interface to TaskChampion sync servers.
|
|
It defines a [trait](crate::server::Server) for servers, and implements both local and remote servers.
|
|
|
|
Typical uses of this crate do not interact directly with this module; [`ServerConfig`](crate::ServerConfig) is sufficient.
|
|
However, users who wish to implement their own server interfaces can implement the traits defined here and pass the result to [`Replica`](crate::Replica).
|
|
|
|
*/
|
|
|
|
#[cfg(test)]
|
|
pub(crate) mod test;
|
|
|
|
mod config;
|
|
mod crypto;
|
|
mod local;
|
|
mod op;
|
|
mod remote;
|
|
mod types;
|
|
|
|
pub use config::ServerConfig;
|
|
pub use local::LocalServer;
|
|
pub use remote::RemoteServer;
|
|
pub use types::*;
|
|
|
|
pub(crate) use op::SyncOp;
|