systemd-journal-sdk-common 0.6.3

Shared types and utilities for the pure Rust systemd journal SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Common types and utilities shared across journal crates.
//!
//! This crate provides foundational types and utilities used by multiple
//! journal-related crates, avoiding code duplication and circular dependencies.

pub mod collections;
pub mod compat;
pub mod system;
pub mod time;

pub use time::{Microseconds, RealtimeClock, Seconds, monotonic_now};

// Re-export collection types for convenience
pub use collections::{HashMap, HashSet, VecDeque};

// Re-export system utilities for convenience
pub use system::{load_boot_id, load_machine_id};