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, the
4//! GitHub client, the caches, the scheduler, sizing advice, insights, the job history store and what observes running jobs.
5//! Clients depend on this crate without it, and with the `client` feature for `client`, their connection to the daemon.
6
7#![warn(missing_docs)]
8
9#[cfg(feature = "host")]
10pub mod admission;
11pub mod api;
12#[cfg(feature = "host")]
13pub mod buildcache;
14#[cfg(feature = "host")]
15pub mod cache;
16#[cfg(feature = "client")]
17pub mod client;
18pub mod config;
19#[cfg(feature = "host")]
20pub mod docker;
21#[cfg(feature = "host")]
22pub mod github;
23#[cfg(feature = "host")]
24pub mod insights;
25#[cfg(feature = "host")]
26pub mod isolation;
27#[cfg(feature = "host")]
28pub mod observe;
29#[cfg(feature = "host")]
30pub mod record;
31#[cfg(feature = "host")]
32pub mod scheduler;
33#[cfg(feature = "host")]
34pub mod sizing;
35#[cfg(feature = "host")]
36pub mod store;
37#[cfg(feature = "host")]
38mod sync;
39#[cfg(all(test, any(feature = "host", feature = "client")))]
40mod testdir;
41#[cfg(feature = "host")]
42mod time;