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::paused_until_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 pause::read_pause_state;
pub use pause::write_pause_state;
pub use pause::PauseState;
pub use traceroute::TracerouteOptions;
pub use traceroute::TracerouteProtocol;
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
pause
Pause state shared between the probe and the tray.
status
Probe status for tray app communication
traceroute
evtraceroute’s options, as the reference probe parses them.
types
Core types for Starla measurements

Constants§

FIRMWARE_VERSION
Firmware version: must match the reference probe version for controller acceptance. 5130 (2026-08-05): the measurement-visible changes are all in evntp (RFC 5905 offset in fixed point, -g gap between requests, “RIPE” reference id in network byte order), which Starla’s NTP now follows.
VERSION
Version string