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