Skip to main content

zoter/
lib.rs

1#![doc = include_str!("../README.md")]
2#![doc(html_root_url = "https://docs.rs/zoter/0.2.0")]
3#![doc(
4    html_logo_url = "https://raw.githubusercontent.com/z-galaxy/zoter/ef25fb8c4c17c9d33ada3e9b3edea7830f898774/data/logo.png"
5)]
6// The crate builds nothing on platforms other than Linux, where systemd is.
7#![cfg(target_os = "linux")]
8#![deny(missing_docs, rust_2018_idioms)]
9
10#[macro_use]
11mod log;
12
13mod error;
14pub use error::{Error, Result};
15mod layout;
16mod limit;
17pub use limit::raise_fd_limit;
18mod memfd;
19mod notifier;
20mod passed;
21pub use passed::Passed;
22mod queue;
23mod restored;
24pub use restored::{Restored, RestoredItem};
25mod save;
26pub use save::{Restore, Save};
27mod store;
28pub use store::{Store, Stored};
29#[cfg(any(test, feature = "testing"))]
30pub mod testing;
31
32#[cfg(test)]
33mod test_utils;