custom-utils 0.14.0

Provide customized tools based on features
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// `updater` bundles the async watchdog, so the deploy stack is one feature.
// Sync is only used when explicitly requested *without* async/updater, so the
// glob re-exports below never collide.
#[cfg(any(feature = "daemon-async", feature = "updater"))]
mod async_deamon;
#[cfg(all(feature = "daemon-sync", not(any(feature = "daemon-async", feature = "updater"))))]
mod sync_deamon;

#[cfg(any(feature = "daemon-async", feature = "updater"))]
pub use async_deamon::*;
#[cfg(all(feature = "daemon-sync", not(any(feature = "daemon-async", feature = "updater"))))]
pub use sync_deamon::*;