1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
//! RZBackup is a library, and a collection of binaries, implementing a partial //! clone of [ZBackup](http://zbackup.org). //! //! The main class is `Repository`, which has static methods for opening and //! accessing data from a ZBackup repository. The `restore` method will restore //! a backup to a provided `Writer`. //! //! `Repository` implements `Clone` and is fully thread-safe. It performs //! parallel decompression operations using a background thread pool and it has //! a three-layer cache. The parameters for cache sizes and number of threads //! are fully configurable. //! //! There is also a `RandomAccess` class which implements `Seek` and `Read`, and //! can be constructed from a `Repository` and the name of a backup. extern crate crypto; extern crate futures; extern crate futures_cpupool; extern crate libc; extern crate lru_cache; extern crate minilzo; extern crate protobuf; extern crate rustc_serialize; #[ doc (hidden) ] #[ macro_use ] mod misc; mod compress; mod server; mod zbackup; pub use zbackup::crypto::CryptoReader; pub use zbackup::data::*; pub use zbackup::metadata::*; pub use zbackup::randaccess::RandomAccess; pub use zbackup::repo::Repository; pub use zbackup::repo::RepositoryConfig; pub use server::run_server; // ex: noet ts=f filetype=rust