borgbackup/lib.rs
1//! # borgbackup
2//!
3//! BorgBackup (short: Borg) is a deduplicating backup program.
4//! Optionally, it supports compression and authenticated encryption.
5//!
6//! The main goal of Borg is to provide an efficient and secure way to backup data.
7//! The data deduplication technique used makes Borg suitable for daily backups since only
8//! changes are stored. The authenticated encryption technique makes it suitable for backups
9//! to not fully trusted targets.
10//!
11//! ---
12//!
13//! This library provides a wrapper to call borg programmatically.
14//! The output of borg is parsed according to the definitions in:
15//! <https://borgbackup.readthedocs.io/en/stable/internals/frontends.html>
16//!
17//!
18//! ## Features
19//! - `tokio`: provides the [asynchronous] module
20//!
21#![warn(missing_docs)]
22
23#[cfg(feature = "tokio")]
24pub mod asynchronous;
25pub mod common;
26pub mod errors;
27pub mod output;
28pub mod sync;
29pub(crate) mod utils;