git.lucas.co / cce-core
GUI-free half of the cce toolkit: config, input, IPC, spec parsers
git clone https://git.lucas.co/cce-core.git

src/lib.rs (1.1K)

 1 //! The GUI-free half of the cce toolkit.
 2 //!
 3 //! What a cce process needs whether or not it draws anything: the KDL config
 4 //! (`config`) and input bindings (`input`), the DE-wide animations switch
 5 //! (`motion`), the user's locale (`locale`) and message catalogues in it (`l10n`, a
 6 //! feature), lengths with units and the display
 7 //! metric (`units`), the
 8 //! Unix-socket IPC convention (`ipc`), and the parsers for the specs the DE
 9 //! writes in its config — colours (`color`), ramps (`ramp`), relief
10 //! (`relief_spec`) and droplets (`droplet`).
11 //!
12 //! `cce-ui` re-exports every module here at its old path (`cce_ui::config`,
13 //! `cce_ui::motion`, …), so an app never names this crate. A process that does
14 //! not draw — the compositor, a sync daemon, a CLI helper — depends on it
15 //! directly and links none of the toolkit's Wayland, Vulkan or text stack.
16 pub mod color;
17 #[cfg(feature = "config")]
18 pub mod config;
19 pub mod droplet;
20 #[cfg(feature = "config")]
21 pub mod input;
22 #[cfg(not(target_arch = "wasm32"))]
23 pub mod ipc;
24 #[cfg(feature = "l10n")]
25 pub mod l10n;
26 pub mod locale;
27 pub mod motion;
28 pub mod ramp;
29 pub mod relief_spec;
30 pub mod units;