Skip to main content

Crate starla_common

Crate starla_common 

Source
Expand description

Common types and utilities for Starla

This crate provides shared functionality across all Starla components:

  • Core types (ProbeId, MeasurementId, etc.)
  • Configuration management
  • Path resolution (XDG/systemd)
  • Logging infrastructure
  • Error types

Re-exports§

pub use paths::config_dir;
pub use paths::config_file;
pub use paths::ensure_config_dir;
pub use paths::ensure_state_dir;
pub use paths::known_hosts_path;
pub use paths::probe_id_path;
pub use paths::probe_key_path;
pub use paths::probe_pubkey_path;
pub use paths::read_probe_id;
pub use paths::runtime_dir;
pub use paths::set_runtime_dir;
pub use paths::set_state_dir;
pub use paths::state_dir;
pub use paths::status_socket_path;
pub use paths::write_probe_id;
pub use config::*;
pub use error::*;
pub use types::*;

Modules§

config
Configuration management
error
Error types for Starla
logging
Logging infrastructure for Starla
paths
Path resolution for Starla
status
Probe status for tray app communication
types
Core types for Starla measurements

Constants§

FIRMWARE_VERSION
Firmware version — must match the reference probe version for controller acceptance
VERSION
Version string