Skip to main content

runnerd_core/
lib.rs

1//! Domain logic and API types shared by the runnerd daemon and its clients.
2//!
3//! `api` and `config` build everywhere. The `host` feature (on by default) adds what only the daemon runs: Docker,
4//! the GitHub client, the caches, the scheduler, the job history store and what observes running jobs. Clients
5//! depend on this crate without it, and with the `client` feature for `client`, their connection to the daemon.
6
7#![warn(missing_docs)]
8
9pub mod api;
10#[cfg(feature = "host")]
11pub mod cache;
12#[cfg(feature = "client")]
13pub mod client;
14pub mod config;
15#[cfg(feature = "host")]
16pub mod docker;
17#[cfg(feature = "host")]
18pub mod github;
19#[cfg(feature = "host")]
20pub mod isolation;
21#[cfg(feature = "host")]
22pub mod observe;
23#[cfg(feature = "host")]
24pub mod scheduler;
25#[cfg(feature = "host")]
26pub mod store;
27#[cfg(feature = "host")]
28mod sync;
29#[cfg(all(test, any(feature = "host", feature = "client")))]
30mod testdir;
31#[cfg(feature = "host")]
32mod time;