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