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 actions;
11#[cfg(feature = "host")]
12pub mod admission;
13pub mod api;
14#[cfg(feature = "host")]
15pub mod boots;
16#[cfg(feature = "host")]
17pub mod buildcache;
18#[cfg(feature = "host")]
19pub mod cache;
20#[cfg(feature = "client")]
21pub mod client;
22#[cfg(feature = "host")]
23pub mod command;
24pub mod config;
25#[cfg(feature = "host")]
26pub mod docker;
27#[cfg(feature = "host")]
28pub mod github;
29#[cfg(feature = "host")]
30pub mod insights;
31#[cfg(feature = "host")]
32pub mod isolation;
33#[cfg(feature = "host")]
34pub mod observe;
35#[cfg(feature = "host")]
36pub mod record;
37#[cfg(feature = "host")]
38pub mod scheduler;
39#[cfg(feature = "host")]
40pub mod sizing;
41#[cfg(feature = "host")]
42pub mod store;
43#[cfg(feature = "host")]
44mod sync;
45#[cfg(all(test, any(feature = "host", feature = "client")))]
46mod testdir;
47mod time;